mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-02 10:33:36 +00:00
fix fwd in Replies
This commit is contained in:
parent
8a999c6aaf
commit
959f9dfc26
|
@ -5825,8 +5825,9 @@ public class MessageObject {
|
||||||
&& (
|
&& (
|
||||||
messageOwner.fwd_from.saved_from_peer == null
|
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_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.flags & TLRPC.MESSAGE_FLAG_REPLY) == 0) &&
|
||||||
|| messageOwner.fwd_from.from_id == null && messageOwner.fwd_from.from_name != null
|
(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();
|
&& UserConfig.getInstance(currentAccount).getClientUserId() != getDialogId();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user