diff --git a/spec/unit/room.spec.ts b/spec/unit/room.spec.ts index 481ccdcafe0..a8634100f82 100644 --- a/spec/unit/room.spec.ts +++ b/spec/unit/room.spec.ts @@ -3165,7 +3165,6 @@ describe("Room", function () { // When we ask what they have read // Then we say "nothing" expect(room.getEventReadUpTo(userA)).toBeNull(); - expect(logger.warn).toHaveBeenCalledWith("Ignoring receipt for missing event with id missingEventId"); }); it("ignores receipts pointing at the wrong thread", () => { diff --git a/src/models/read-receipt.ts b/src/models/read-receipt.ts index d1c0f10c9c3..a8277081483 100644 --- a/src/models/read-receipt.ts +++ b/src/models/read-receipt.ts @@ -143,7 +143,6 @@ export abstract class ReadReceipt< // // 4. The receipt had the incorrect thread ID (due to a bug in a // client, or malicious behaviour). - logger.warn(`Ignoring receipt for missing event with id ${receipt.eventId}`); // This receipt is not "valid" because it doesn't point at an event // we have. We want to pretend it doesn't exist.