Refactor code

This commit is contained in:
Tulir Asokan
2018-02-24 12:37:12 +02:00
parent 1372a16459
commit 8a7ccc0007
3 changed files with 65 additions and 54 deletions
+1 -2
View File
@@ -219,8 +219,7 @@ class MatrixHandler:
"m.room.avatar": (portal.handle_matrix_avatar, "url"),
}[type]
if content_key not in content:
# FIXME handle
pass
return
await handler(sender, content[content_key])
def filter_matrix_event(self, event):