Skip to content

Commit

Permalink
Add missing type to _store_own_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Apr 28, 2024
1 parent 881bfaa commit 1974b66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions telethon/network/mtprotosender.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,10 @@ def _store_own_updates(self, obj, *, _update_ids=frozenset((
)
upd._self_outgoing = True
self._updates_queue.put_nowait(upd)
elif obj.CONSTRUCTOR_ID == _tl.messages.InvitedUsers.CONSTRUCTOR_ID:
obj.updates._self_outgoing = True
self._updates_queue.put_nowait(obj.updates)

except AttributeError:
pass

Expand Down

0 comments on commit 1974b66

Please sign in to comment.