mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Inline the old _load_entities code
This commit is contained in:
@@ -184,10 +184,7 @@ class UserUpdate(EventBuilder):
|
||||
self._chat_peer = types.PeerChannel(self._chat_peer)
|
||||
|
||||
super()._set_client(client)
|
||||
|
||||
def _load_entities(self):
|
||||
self._sender, self._input_sender = self._get_entity_pair(self.sender_id)
|
||||
return super()._load_entities() and self._input_sender is not None
|
||||
self._sender, self._input_sender = self._get_entity_pair(self._sender_id)
|
||||
|
||||
@property
|
||||
def user(self):
|
||||
|
Reference in New Issue
Block a user