Reactions: Fix buttons position in forwarded message (#1655)
This commit is contained in:
parent
e7912b1433
commit
417745a998
@ -479,8 +479,11 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
if (areReactionsInMeta) {
|
if (areReactionsInMeta) {
|
||||||
reactionsPosition = 'in-meta';
|
reactionsPosition = 'in-meta';
|
||||||
} else if (reactionMessage?.reactions && !areReactionsEmpty(reactionMessage.reactions)) {
|
} else if (reactionMessage?.reactions && !areReactionsEmpty(reactionMessage.reactions)) {
|
||||||
if (asForwarded || customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) {
|
if (customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) {
|
||||||
reactionsPosition = 'outside';
|
reactionsPosition = 'outside';
|
||||||
|
} else if (asForwarded) {
|
||||||
|
metaPosition = 'standalone';
|
||||||
|
reactionsPosition = 'inside';
|
||||||
} else {
|
} else {
|
||||||
reactionsPosition = 'inside';
|
reactionsPosition = 'inside';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user