Remove mark from peer_id

This commit is contained in:
Lonami Exo
2021-09-18 16:29:45 +02:00
parent 9f3bb52e4e
commit 431a9309e3
9 changed files with 45 additions and 89 deletions

View File

@@ -119,12 +119,10 @@ class EntityCache:
update.user_id not in dct:
return False
if cid in has_chat_id and \
utils.get_peer_id(_tl.PeerChat(update.chat_id)) not in dct:
if cid in has_chat_id and update.chat_id not in dct:
return False
if cid in has_channel_id and \
utils.get_peer_id(_tl.PeerChannel(update.channel_id)) not in dct:
if cid in has_channel_id and update.channel_id not in dct:
return False
if cid in has_peer and \