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

Revert "[KOE-115] Added check to sync stall detection to see if anything has synced. If not, it's considered a startup delay and doesn't trigger the warning"

This reverts commit 21c5da59e6.

This approach didn't work
This commit is contained in:
Patrick Simpson 2017-06-14 15:14:12 +02:00
parent 32d14b8b58
commit 1efaa3e711

View File

@ -409,11 +409,6 @@ namespace Acacia.Features.SyncState
return !string.IsNullOrWhiteSpace(content.synckey);
}
public bool HasAnythingSynced
{
get { return Done > 0; }
}
}
private void CheckSyncState(ZPushAccount account)
@ -508,8 +503,7 @@ namespace Acacia.Features.SyncState
if (folderId != null)
{
SyncSession sync = account.GetFeatureData<SyncSession>(this, null);
// If nothing has synced yet, it's probably just a delay
if (!sync.HasAnythingSynced || sync.HasFolderSynced(folderId))
if (sync.HasFolderSynced(folderId))
return;
}
}