Fix onRedactionEvent "etype" mistake

This commit is contained in:
miruka 2020-07-13 23:42:25 -04:00
parent dd63d1312a
commit d4bc87ea88

View File

@ -232,7 +232,7 @@ class NioCallbacks:
if not (
event and
(event.etype is not nio.RedactedEvent or event.is_local_echo)
(event.event_type is not nio.RedactedEvent or event.is_local_echo)
):
await self.client.register_nio_room(room)
return