mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-30 06:15:42 +00:00
fix(tool): fix name of subscribe folder by setting the context
This commit is contained in:
1 parent
dfbb24b6fd
commit
8c50b84d8d
3 files changed
+9
-3
No files matched your search
@@ -375,9 +375,8 @@ static NSArray *childRecordFields = nil;
|
||||
|
||||
// Use a format only if it was defined by the user
|
||||
if (displayNameFormat)
|
||||
name = [folderSubscriptionValues keysWithFormat: displayNameFormat];
|
||||
name = [folderSubscriptionValues keysWithFormat: displayNameFormat];
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
@@ -932,6 +931,11 @@ static NSArray *childRecordFields = nil;
|
||||
return [folderSubscription containsObject: [self folderReference]];
|
||||
}
|
||||
|
||||
- (void) setContext: (WOContext*) ctx
|
||||
{
|
||||
context = ctx;
|
||||
}
|
||||
|
||||
- (BOOL) subscribeUserOrGroup: (NSString *) theIdentifier
|
||||
reallyDo: (BOOL) reallyDo
|
||||
response: (WOResponse *) theResponse
|
||||
|
||||
Reference in new issue
Block a user