fix(tool): fix name of subscribe folder by setting the context

This commit is contained in:
Hivert Quentin committed 2026-10-27 15:50:08 +01:00
1 parent dfbb24b6fd
commit 8c50b84d8d
3 files changed
+9 -3

No files matched your search

+6 -2
View File
@@ -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