From 205b2815204a04bcbab53aa5a45c213734c395ec Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 27 Oct 2024 10:14:35 +0200 Subject: [PATCH] reply email avatars --- client/src/email-helper.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/email-helper.js b/client/src/email-helper.js index bb399f6d0f..0fc5fe3e30 100644 --- a/client/src/email-helper.js +++ b/client/src/email-helper.js @@ -100,6 +100,8 @@ class EmailHelper { const replyToAddressString = model.get('replyTo') || null; const replyToString = model.get('replyToString') || null; const userEmailAddressList = this.getUser().get('emailAddressList') || []; + const idHash = model.attributes.idHash || {}; + const typeHash = model.attributes.typeHash || {}; if (replyToAddressString) { const replyToAddressList = replyToAddressString.split(';'); @@ -247,6 +249,8 @@ class EmailHelper { } attributes.nameHash = nameHash; + attributes.typeHash = typeHash; + attributes.idHash = idHash; attributes.repliedId = model.id; attributes.inReplyTo = model.get('messageId');