Debugging output for subscription issue

This commit is contained in:
Francis Lachapelle
2018-05-30 12:01:08 -04:00
parent c6e11606e9
commit e33ec4e396
2 changed files with 17 additions and 3 deletions
+3 -1
View File
@@ -1649,7 +1649,9 @@ static NSArray *childRecordFields = nil;
[[SOGoCache sharedCache] registerGroup: group withName: currentUID inDomain: domain];
}
if (group && [group hasMemberWithUID: uid])
if (!group)
[self errorWithFormat: @"Can't find group %@", group];
else if ([group hasMemberWithUID: uid])
[acls addObject: [record valueForKey: @"c_role"]];
}
}