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:
parent
ad03e67961
commit
ddcd9764ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user