mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-09 14:39:34 -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:
|
try:
|
||||||
decrypted_event = self.decrypt_event(event)
|
decrypted_event = self.decrypt_event(event)
|
||||||
logger.debug("Decrypted event: {}".format(decrypted_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.update(decrypted_event.source)
|
||||||
event_dict["decrypted"] = True
|
event_dict["decrypted"] = True
|
||||||
|
Loading…
Reference in New Issue
Block a user