Fix super() initialisation call for EventCommon (#1182)

This commit is contained in:
Terrance 2019-05-12 22:29:01 +01:00 committed by Lonami
parent 9730894a07
commit 0946a7902f

View File

@ -134,7 +134,7 @@ class EventCommon(ChatGetter, abc.ABC):
_event_name = 'Event' _event_name = 'Event'
def __init__(self, chat_peer=None, msg_id=None, broadcast=False): def __init__(self, chat_peer=None, msg_id=None, broadcast=False):
super().__init__(self, chat_peer, broadcast=broadcast) super().__init__(chat_peer, broadcast=broadcast)
self._entities = {} self._entities = {}
self._client = None self._client = None
self._message_id = msg_id self._message_id = msg_id