Skip to content

Commit

Permalink
Fix messagebox state trace was not logging the object
Browse files Browse the repository at this point in the history
This state was a TL State, not the MessageBox State with repr.
  • Loading branch information
Lonami committed Dec 18, 2022
1 parent c72c7b1 commit a8ce308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telethon/_updates/messagebox.py
Expand Up @@ -329,7 +329,7 @@ def apply_deadlines_reset(self):
# updates will be fetched.
def set_state(self, state, reset=True):
if __debug__:
self._trace('Setting state %r', state)
self._trace('Setting state %s', state)

deadline = next_updates_deadline()

Expand Down

0 comments on commit a8ce308

Please sign in to comment.