1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

fix fwd in Replies

This commit is contained in:
luvletter2333 2022-02-28 14:08:05 +08:00
parent 8a999c6aaf
commit 959f9dfc26
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -5825,8 +5825,9 @@ public class MessageObject {
&& (
messageOwner.fwd_from.saved_from_peer == null
|| messageOwner.fwd_from.from_id instanceof TLRPC.TL_peerChannel && messageOwner.fwd_from.saved_from_peer.channel_id != messageOwner.fwd_from.from_id.channel_id
|| messageOwner.fwd_from.from_id instanceof TLRPC.TL_peerUser
|| messageOwner.fwd_from.from_id == null && messageOwner.fwd_from.from_name != null
|| (((messageOwner.flags & TLRPC.MESSAGE_FLAG_REPLY) == 0) &&
(messageOwner.fwd_from.from_id instanceof TLRPC.TL_peerUser
|| messageOwner.fwd_from.from_id == null && messageOwner.fwd_from.from_name != null))
)
&& UserConfig.getInstance(currentAccount).getClientUserId() != getDialogId();
}