From 417745a99855f1bc308c6cf321f5cb311b28790a Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 21 Jan 2022 17:29:43 +0100 Subject: [PATCH] Reactions: Fix buttons position in forwarded message (#1655) --- src/components/middle/message/Message.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/middle/message/Message.tsx b/src/components/middle/message/Message.tsx index 295bc4b8..506f87b8 100644 --- a/src/components/middle/message/Message.tsx +++ b/src/components/middle/message/Message.tsx @@ -479,8 +479,11 @@ const Message: FC = ({ if (areReactionsInMeta) { reactionsPosition = 'in-meta'; } else if (reactionMessage?.reactions && !areReactionsEmpty(reactionMessage.reactions)) { - if (asForwarded || customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) { + if (customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) { reactionsPosition = 'outside'; + } else if (asForwarded) { + metaPosition = 'standalone'; + reactionsPosition = 'inside'; } else { reactionsPosition = 'inside'; }