From d4bc87ea88cdf451843db833873f25f07d6cffcc Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 13 Jul 2020 23:42:25 -0400 Subject: [PATCH] Fix onRedactionEvent "etype" mistake --- src/backend/nio_callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/nio_callbacks.py b/src/backend/nio_callbacks.py index 16eb0f4e..ef8c621d 100644 --- a/src/backend/nio_callbacks.py +++ b/src/backend/nio_callbacks.py @@ -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