Call Chat/Sender Getter init methods

This commit is contained in:
Lonami Exo
2019-05-12 14:00:12 +02:00
parent fefd6f0e6d
commit 9730894a07
9 changed files with 35 additions and 49 deletions

View File

@@ -101,9 +101,7 @@ class UserUpdate(EventBuilder):
# We need the client to actually figure out its type.
super().__init__(chat_id)
self._sender_id = user_id
self._input_sender = None
self._sender = None
SenderGetter.__init__(self, user_id)
self.online = None if status is None else \
isinstance(status, types.UserStatusOnline)