mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Added extra null checks for sync data and sharing public folder
This commit is contained in:
parent
57244e8be1
commit
89cb450bb2
@ -356,6 +356,8 @@ namespace Acacia.Features.SyncState
|
||||
HashSet<string> syncingNow = new HashSet<string>();
|
||||
|
||||
// Check all syncing data
|
||||
if (details.Content != null)
|
||||
{
|
||||
foreach (KeyValuePair<string, DeviceDetails.ContentData> contentEntry in details.Content)
|
||||
{
|
||||
DeviceDetails.ContentData content = contentEntry.Value;
|
||||
@ -379,6 +381,7 @@ namespace Acacia.Features.SyncState
|
||||
content.Key, content.IsSyncing, content.Sync.done, content.Sync.total));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Clean up any done items
|
||||
bool _syncingNow = false;
|
||||
|
@ -81,6 +81,9 @@ namespace Acacia.ZPush
|
||||
if (result != null && result != contact)
|
||||
result.Dispose();
|
||||
|
||||
if (contact == null)
|
||||
return null;
|
||||
|
||||
return new ContactStringReplacer(contact);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user