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

[KOE-17] Added null check to prevent exception in log

This commit is contained in:
Patrick Simpson 2017-02-27 16:05:09 +01:00
parent ad03e67961
commit ddcd9764ea

View File

@ -122,7 +122,7 @@ namespace Acacia.Features.Signatures
/// <param name="serverSignatureHash">The signature hash. If null, the hash will not be checked and a hard sync will be done.</param>
private void SyncSignatures(ZPushAccount account, string serverSignatureHash)
{
if (!account.Capabilities.Has("signatures"))
if (account == null || !account.Capabilities.Has("signatures"))
return;
// Check hash if needed