Fix onRedactionEvent "etype" mistake
This commit is contained in:
parent
dd63d1312a
commit
d4bc87ea88
|
@ -232,7 +232,7 @@ class NioCallbacks:
|
||||||
|
|
||||||
if not (
|
if not (
|
||||||
event and
|
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)
|
await self.client.register_nio_room(room)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user