Debugging output for subscription issue

This commit is contained in:
Francis Lachapelle committed 2018-05-24 16:15:33 -04:00
1 parent 2cbc1ac6eb
commit 82d992fc67
2 files changed
+6 -2

No files matched your search

+1
View File
@@ -1004,6 +1004,7 @@ static NSArray *childRecordFields = nil;
[folderSubscription removeObject: subscriptionPointer]; [folderSubscription removeObject: subscriptionPointer];
} }
[self debugWithFormat: @"Update subscriptions for @%: %@", [sogoUser login], folderSubscription];
[us synchronize]; [us synchronize];
rc = YES; rc = YES;
+5 -2
View File
@@ -348,8 +348,11 @@ static SoSecurityManager *sm = nil;
[subscribedReferences removeObject: currentKey]; [subscribedReferences removeObject: currentKey];
[folderDisplayNames removeObjectForKey: currentKey]; [folderDisplayNames removeObjectForKey: currentKey];
if ([owner isEqualToString: activeUser]) if ([owner isEqualToString: activeUser])
// Synchronize settings only if the subscription is owned by the active user {
dirty = YES; // Synchronize settings only if the subscription is owned by the active user
dirty = YES;
[self errorWithFormat: @"%@ lost access to %@", owner, currentKey];
}
} }
} }