Remove debug prints and fix Matrix power level handler

This commit is contained in:
Tulir Asokan
2018-02-04 11:38:55 +02:00
parent ab6ffeedda
commit e90bd07215
4 changed files with 1 additions and 5 deletions
-1
View File
@@ -252,7 +252,6 @@ class User:
portal = po.Portal.get_by_tgid(update.chat_id, peer_type="chat")
sender = pu.Puppet.get(update.from_id)
elif isinstance(update, UpdateShortMessage):
print(update)
portal = po.Portal.get_by_tgid(update.user_id, self.tgid, "user")
sender = pu.Puppet.get(self.tgid if update.out else update.user_id)
elif isinstance(update, (UpdateNewMessage, UpdateNewChannelMessage)):