Add logging to find potential peer type mistakes

This commit is contained in:
Tulir Asokan
2019-10-28 01:10:36 +02:00
parent 5411de90fc
commit abd1adaabf
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -434,7 +434,6 @@ class AbstractUser(ABC):
if isinstance(original_update, (UpdateEditMessage, UpdateEditChannelMessage)):
return await portal.handle_telegram_edit(self, sender, update)
self.log.debug("Handling message %s to %s by %s", update, portal.tgid_log, user)
return await portal.handle_telegram_message(self, sender, update)
# endregion