From 2faa60f8e7cf617876056c188d42cb1c4ac42004 Mon Sep 17 00:00:00 2001 From: xiangyu <3170102889@zju.edu.cn> Date: Mon, 5 Dec 2022 11:41:39 +0800 Subject: [PATCH] fix: note md5 comparison bug --- src/sync/syncController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync/syncController.ts b/src/sync/syncController.ts index 23ed72d..1dbc06f 100644 --- a/src/sync/syncController.ts +++ b/src/sync/syncController.ts @@ -91,7 +91,7 @@ class SyncController extends AddonBase { } // MD5 doesn't match (note side change) if (noteMd5 !== syncStatus.noteMd5) { - MDAhead = true; + noteAhead = true; } // Note version doesn't match (note side change) // This might be unreliable when Zotero account is not login