From bcfd93bc79bf171ec2eca12e2e2ec0b07d7098b0 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Thu, 10 Feb 2022 10:55:02 +0200 Subject: [PATCH] Set lastModifiedByUser even if an annotation author is authoritative --- chrome/content/zotero/xpcom/annotations.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/annotations.js b/chrome/content/zotero/xpcom/annotations.js index 438dc71a9a..d69b26bd86 100644 --- a/chrome/content/zotero/xpcom/annotations.js +++ b/chrome/content/zotero/xpcom/annotations.js @@ -129,6 +129,9 @@ Zotero.Annotations = new function () { else if (!o.isExternal && isGroup) { o.authorName = Zotero.Users.getName(item.createdByUserID); o.isAuthorNameAuthoritative = true; + if (item.lastModifiedByUserID) { + o.lastModifiedByUser = Zotero.Users.getName(item.lastModifiedByUserID); + } } o.readOnly = o.isExternal || !isAuthor; if (o.type == 'highlight') {