1
0
mirror of https://github.com/Kopano-dev/kopano-ol-extension.git synced 2023-10-10 13:37:40 +02:00

Fixed exception on default folder name if GAB user lookup fails

This commit is contained in:
Patrick Simpson 2017-10-07 10:17:14 +03:00
parent 99a8e1f0bd
commit f8f4c4aaa5

View File

@ -80,7 +80,8 @@ namespace Acacia.ZPush
IContactItem contact = result as IContactItem; IContactItem contact = result as IContactItem;
if (result != null && result != contact) if (result != null && result != contact)
result.Dispose(); result.Dispose();
if (contact == null)
return null;
return new ContactStringReplacer(contact); return new ContactStringReplacer(contact);
} }