From 69b5aa20b15ef68393177bb6c7650a4d828331c7 Mon Sep 17 00:00:00 2001 From: HgO Date: Sun, 10 Jul 2022 14:53:19 +0200 Subject: [PATCH] start support for redaction events --- matrix_alertbot/callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_alertbot/callback.py b/matrix_alertbot/callback.py index 586f4e2..024e538 100644 --- a/matrix_alertbot/callback.py +++ b/matrix_alertbot/callback.py @@ -239,7 +239,7 @@ class Callbacks: reacted_to_event = await self.client.room_get_event( room.room_id, reacted_to_event_id ) - print(reacted_to_event.source) + print(reacted_to_event.event.source) async def unknown(self, room: MatrixRoom, event: UnknownEvent) -> None: """Callback for when an event with a type that is unknown to matrix-nio is received.