From ce707469a072e43db3574942fda48e8dcc4877c3 Mon Sep 17 00:00:00 2001 From: Patrick Simpson Date: Wed, 14 Jun 2017 15:14:12 +0200 Subject: [PATCH] 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 21c5da59e6c83d7dcd6b4c14e52e1825e8cf9532. This approach didn't work --- .../Features/SyncState/FeatureSyncState.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/SyncState/FeatureSyncState.cs b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/SyncState/FeatureSyncState.cs index 33a4bdf..ce7978e 100644 --- a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/SyncState/FeatureSyncState.cs +++ b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/SyncState/FeatureSyncState.cs @@ -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(this, null); - // If nothing has synced yet, it's probably just a delay - if (!sync.HasAnythingSynced || sync.HasFolderSynced(folderId)) + if (sync.HasFolderSynced(folderId)) return; } }