From 5dc97052941a5c53ca8b712a660745a1efd4a779 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 20 Mar 2026 08:46:48 -0400 Subject: [PATCH] Fix saving lastRead in read-only library --- chrome/content/zotero/xpcom/attachmentReadObserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/attachmentReadObserver.js b/chrome/content/zotero/xpcom/attachmentReadObserver.js index 33ba36589a..9b9a3b13f1 100644 --- a/chrome/content/zotero/xpcom/attachmentReadObserver.js +++ b/chrome/content/zotero/xpcom/attachmentReadObserver.js @@ -53,7 +53,7 @@ Zotero.AttachmentReadObserver = { } item.attachmentLastRead = Math.round(this._getCurrentDate().getTime() / 1000); - await item.saveTx({ skipDateModifiedUpdate: true }); + await item.saveTx({ skipDateModifiedUpdate: true, skipEditCheck: true }); }, async notify(action, type, ids, extraData) {