fix(client): false negatives in automatic forward detection
This commit is contained in:
parent
23c4762989
commit
207dc5f15a
1 changed files with 2 additions and 2 deletions
|
@ -169,9 +169,9 @@ export class Message {
|
||||||
|
|
||||||
return Boolean(
|
return Boolean(
|
||||||
this.chat.chatType === 'supergroup' &&
|
this.chat.chatType === 'supergroup' &&
|
||||||
fwd.channelPost &&
|
|
||||||
fwd.savedFromMsgId &&
|
fwd.savedFromMsgId &&
|
||||||
fwd.savedFromPeer?._ === 'peerChannel',
|
fwd.savedFromPeer?._ === 'peerChannel' &&
|
||||||
|
getMarkedPeerId(fwd.savedFromPeer) !== getMarkedPeerId(this.raw.peerId),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue