mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-08 14:18:08 -05:00
client: Log the decrypted sender, room id and event id at the info level.
This commit is contained in:
parent
0a5e8a7865
commit
0be0b5301b
@ -819,6 +819,13 @@ class PanClient(AsyncClient):
|
||||
try:
|
||||
decrypted_event = self.decrypt_event(event)
|
||||
logger.debug("Decrypted event: {}".format(decrypted_event))
|
||||
logger.info(
|
||||
"Decrypted event from {} in {}, event id: {}".format(
|
||||
decrypted_event.sender,
|
||||
decrypted_event.room_id,
|
||||
decrypted_event.event_id,
|
||||
)
|
||||
)
|
||||
|
||||
event_dict.update(decrypted_event.source)
|
||||
event_dict["decrypted"] = True
|
||||
|
Loading…
Reference in New Issue
Block a user