Fixed exception on default folder name if GAB user lookup fails
This commit is contained in:
parent
99a8e1f0bd
commit
f8f4c4aaa5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue