mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
@@ -1860,10 +1860,9 @@ static NSArray *reminderValues = nil;
|
||||
value = [[identity objectForKey: @"email"]
|
||||
stringByTrimmingSpaces];
|
||||
|
||||
/* We make sure that the "custom" value is different from the values
|
||||
returned by the user directory service. */
|
||||
if ([value length] == 0
|
||||
|| [[user allEmails] containsObject: value])
|
||||
/* We make sure that the "custom" value is different from the system email */
|
||||
if ([value length] == 0)
|
||||
|| [[user systemEmail] isEqualToString: value])
|
||||
value = nil;
|
||||
|
||||
if (value)
|
||||
|
||||
Reference in New Issue
Block a user