From 3579c124c2876c630e3f42635cc1402c2cf69dd3 Mon Sep 17 00:00:00 2001 From: Ibrkhalil Date: Sun, 24 Dec 2023 15:29:56 +0200 Subject: [PATCH] Fix no message preview on long press on the reaction --- .../contexts/chat/messages/content/reactions/view.cljs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/chat/messages/content/reactions/view.cljs b/src/status_im/contexts/chat/messages/content/reactions/view.cljs index 518b3d778ec..6af8a5979a7 100644 --- a/src/status_im/contexts/chat/messages/content/reactions/view.cljs +++ b/src/status_im/contexts/chat/messages/content/reactions/view.cljs @@ -64,9 +64,10 @@ :use-case (when pinned-by :pinned) :on-press #(on-press (assoc % :message-id message-id)) :on-long-press #(on-long-press (assoc % - :message-id message-id - :theme theme - :reactions-order (map :emoji-id reactions))) + :message-id message-id + :theme theme + :reactions-order (map :emoji-id reactions) + :user-message-content user-message-content)) :on-press-add #(on-press-add {:chat-id chat-id :message-id message-id :user-message-content user-message-content})}])]))