mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Fix messagebox state trace was not logging the object
This state was a TL State, not the MessageBox State with repr.
This commit is contained in:
parent
c72c7b160a
commit
a8ce308b7a
|
@ -329,7 +329,7 @@ class MessageBox:
|
||||||
# updates will be fetched.
|
# updates will be fetched.
|
||||||
def set_state(self, state, reset=True):
|
def set_state(self, state, reset=True):
|
||||||
if __debug__:
|
if __debug__:
|
||||||
self._trace('Setting state %r', state)
|
self._trace('Setting state %s', state)
|
||||||
|
|
||||||
deadline = next_updates_deadline()
|
deadline = next_updates_deadline()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user