diff --git a/telethon/client/updates.py b/telethon/client/updates.py index 10e97167..ded17695 100644 --- a/telethon/client/updates.py +++ b/telethon/client/updates.py @@ -321,8 +321,8 @@ class UpdateMethods(UserMethods): name) async def _handle_auto_reconnect(self): - # Upon reconnection, we want to send getState - # for Telegram to keep sending us updates. + # TODO Catch-up + return try: self._log[__name__].info( 'Asking for the current state after reconnect...') diff --git a/telethon/events/newmessage.py b/telethon/events/newmessage.py index 50a450ec..98b74957 100644 --- a/telethon/events/newmessage.py +++ b/telethon/events/newmessage.py @@ -49,7 +49,7 @@ class NewMessage(EventBuilder): incoming = not outgoing elif all(x is not None and not x for x in (incoming, outgoing)): raise ValueError("Don't create an event handler if you " - "don't want neither incoming or outgoing!") + "don't want neither incoming nor outgoing!") super().__init__(chats, blacklist_chats=blacklist_chats, func=func) self.incoming = incoming