Include event & room ID in log line (#3945)

...for when we ignore events that don't appear in the room timeline
This commit is contained in:
David Baker
2023-12-07 13:41:43 +00:00
committed by GitHub
parent 1d1309870a
commit 636fc3daaa
+1 -1
View File
@@ -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;
}