From 636fc3daaaa052dbfd475bb1e0ed283041a7825e Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 7 Dec 2023 13:41:43 +0000 Subject: [PATCH] Include event & room ID in log line (#3945) ...for when we ignore events that don't appear in the room timeline --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 563e79cfe..7225af05a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -9853,7 +9853,7 @@ export function fixNotificationCountOnDecryption(cli: MatrixClient, event: Matri // *great*, so if we can fix the homeless events (eg. with MSC4023) then we should probably // remove this workaround. if (!room.findEventById(eventId)) { - logger.info("Decrypted event is not in the room: ignoring"); + logger.info(`Decrypted event ${event.getId()} is not in room ${room.roomId}: ignoring`); return; }