fix: log full event

This commit is contained in:
əlemi 2024-01-29 17:48:36 +01:00
parent 7183358f48
commit a22886334c
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -57,7 +57,7 @@ class AppService:
if event.type not in EventType.all(): # TODO: python 3.12 makes the .all() unnecessary
self.logger.warn("unhandled event of type %s, ignoring", event["type"])
continue
self.logger.debug("dispatching event %s for %s", event.type)
self.logger.debug("dispatching event %s", event)
callback = self._callbacks.get(event.type, {}).get(event.room_id, None)
if callback is not None:
asyncio.get_event_loop().create_task(callback(event))