From e392608697c222c0ed1478169fe566f0c6bd6f7c Mon Sep 17 00:00:00 2001 From: Ibrahem Khalil Date: Sat, 30 Dec 2023 11:25:01 +0200 Subject: [PATCH] Fix no message preview on long press on the reaction (#18292) --- .../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 518b3d778e..6af8a5979a 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})}])]))