mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
fix(addressbook): Fix broken image in shared address book when image is null
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
@class NSDictionary;
|
||||
@class NSString;
|
||||
@class NGVList;
|
||||
@class NSNull;
|
||||
|
||||
@interface SOGoContactLDIFEntry : SOGoObject <SOGoContactObject>
|
||||
{
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
|
||||
- (BOOL) hasPhoto
|
||||
{
|
||||
return ([ldifEntry objectForKey: @"photo"] != nil);
|
||||
return ([ldifEntry objectForKey: @"photo"] != nil && [ldifEntry objectForKey: @"photo"] != [NSNull null]);
|
||||
}
|
||||
|
||||
- (NSString *) davEntityTag
|
||||
|
||||
Reference in New Issue
Block a user