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 b1d7ebc484
commit 29f1e3358e
1 changed files with 2 additions and 1 deletions

View File

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