Message: Fix focus button behavior (#1870)

This commit is contained in:
Alexander Zinchuk 2022-05-16 13:34:18 +02:00
parent c01e29bd1a
commit efa4c59ae0

View File

@ -351,7 +351,7 @@ function buildApiMessageForwardInfo(fwdFrom: GramJs.MessageFwdHeader, isChatWith
channelPostId: fwdFrom.channelPost,
isLinkedChannelPost: Boolean(fwdFrom.channelPost && savedFromPeerId && !isChatWithSelf),
fromChatId: savedFromPeerId || fromId,
fromMessageId: fwdFrom.channelPost || fwdFrom.savedFromMsgId,
fromMessageId: fwdFrom.savedFromMsgId || fwdFrom.channelPost,
senderUserId: fromId,
hiddenUserName: fwdFrom.fromName,
adminTitle: fwdFrom.postAuthor,