From 02607edfffddea3fb1c9cc2c4c9bccff2bafe67c Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Thu, 13 Aug 2020 18:19:04 -0400 Subject: [PATCH] Fix selectedReaction which is now always undefined --- js/models/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models/messages.js b/js/models/messages.js index 93436c048..feb92099a 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -604,7 +604,7 @@ const selectedReaction = ( (this.get('reactions') || []).find( - re => re.fromId === this.OUR_NUMBER + re => re.fromId === ConversationController.getOurConversationId() ) || {} ).emoji;