mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 12:53:44 +03:00
Fix input_sender events' property not using cached value
This commit is contained in:
parent
f5eda72329
commit
5167754368
|
@ -314,7 +314,7 @@ class NewMessage(_EventBuilder):
|
|||
chat=self.input_chat
|
||||
)
|
||||
|
||||
return self._client.get_input_entity(self.message.from_id)
|
||||
return self._input_sender
|
||||
|
||||
@property
|
||||
def sender(self):
|
||||
|
@ -848,7 +848,7 @@ class MessageChanged(_EventBuilder):
|
|||
chat=self.input_chat
|
||||
)
|
||||
|
||||
return self._client.get_input_entity(self.message.from_id)
|
||||
return self._input_sender
|
||||
|
||||
@property
|
||||
def sender(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user