From 4c449019f8a597187db65dea66ca03dc4ee7b60a Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Wed, 25 Mar 2020 14:05:57 -0400 Subject: [PATCH] Check for author id rather than conversation id --- js/reactions.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/reactions.js b/js/reactions.js index 69b0a6b041..60d586424e 100644 --- a/js/reactions.js +++ b/js/reactions.js @@ -54,9 +54,13 @@ ); const targetMessage = messages.find(m => { - const mcid = m.isOutgoing() - ? ConversationController.getOurConversationId() - : m.get('conversationId'); + const contact = m.getContact(); + + if (!contact) { + return false; + } + + const mcid = contact.get('id'); const recid = ConversationController.getConversationId( reaction.get('targetAuthorE164') || reaction.get('targetAuthorUuid') );