Message: Fix big text after editing emoji only message (#2872)

This commit is contained in:
Alexander Zinchuk 2023-03-30 18:25:28 -05:00
parent 4390800a46
commit 4f12efa934

View File

@ -214,7 +214,7 @@ export function buildApiMessageWithChatId(
isFromScheduled: mtpMessage.fromScheduled,
isSilent: mtpMessage.silent,
reactions: mtpMessage.reactions && buildMessageReactions(mtpMessage.reactions),
...(emojiOnlyCount && { emojiOnlyCount }),
emojiOnlyCount,
...(replyToMsgId && { replyToMessageId: replyToMsgId }),
...(forumTopic && { isTopicReply: true }),
...(replyToPeerId && { replyToChatId: getApiChatIdFromMtpPeer(replyToPeerId) }),