mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-29 15:15:37 +00:00
Improve validation of mail account delegators
This commit is contained in:
@@ -1059,11 +1059,9 @@ static NSString *inboxFolderName = @"INBOX";
|
||||
{
|
||||
currentDelegate = [oldDelegates objectAtIndex: count];
|
||||
delegateUser = [SOGoUser userWithLogin: currentDelegate];
|
||||
[delegates removeObject: currentDelegate];
|
||||
if (delegateUser)
|
||||
{
|
||||
[delegates removeObject: currentDelegate];
|
||||
[delegateUser removeMailDelegator: owner];
|
||||
}
|
||||
[delegateUser removeMailDelegator: owner];
|
||||
}
|
||||
|
||||
[self _setDelegates: delegates];
|
||||
|
||||
Reference in New Issue
Block a user