Debugging output for subscription issue

This commit is contained in:
Francis Lachapelle
2018-05-24 16:15:08 -04:00
parent 2cbc1ac6eb
commit 82d992fc67
2 changed files with 6 additions and 2 deletions

View File

@@ -1004,6 +1004,7 @@ static NSArray *childRecordFields = nil;
[folderSubscription removeObject: subscriptionPointer];
}
[self debugWithFormat: @"Update subscriptions for @%: %@", [sogoUser login], folderSubscription];
[us synchronize];
rc = YES;

View File

@@ -348,8 +348,11 @@ static SoSecurityManager *sm = nil;
[subscribedReferences removeObject: currentKey];
[folderDisplayNames removeObjectForKey: currentKey];
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];
}
}
}