mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-14 12:42:44 +00:00
fix(addressbook): Fix broken image in shared address book when image is null
This commit is contained in:
1 parent
326bc68f4c
commit
5d315ac180
2 files changed
+2
-1
No files matched your search
@@ -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