Fix saving lastRead in read-only library

This commit is contained in:
Dan Stillman 2026-03-20 08:46:48 -04:00
parent cf7fcd751f
commit 5dc9705294

View file

@ -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) {