mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 22:26:24 +00:00
If the organizer's name is non-existent, use the email address
This commit is contained in:
@@ -872,10 +872,16 @@ iRANGE(2);
|
||||
- (NSString *) organizerName
|
||||
{
|
||||
NSDictionary *profile;
|
||||
NSString *s;
|
||||
|
||||
profile = [[[self organizerProfile] allValues] lastObject];
|
||||
|
||||
s = [profile objectForKey: @"name"];
|
||||
|
||||
return [profile objectForKey: @"name"];
|
||||
if ([s length] == 0)
|
||||
s = [profile objectForKey: @"email"];
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
- (NSString *) jsonOrganizer
|
||||
|
||||
Reference in New Issue
Block a user