1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +03:00

Revert "Ensure we don't overinflate the total notification count (#3634)" (#3639)

This commit is contained in:
Michael Telatynski
2023-07-31 11:57:11 +01:00
committed by GitHub
parent fd0c4a7f56
commit 1744f0e97b
6 changed files with 57 additions and 80 deletions

View File

@ -1037,12 +1037,7 @@ describe("RoomState", function () {
// this event is a message after decryption
decryptingRelatedEvent.event.type = EventType.RoomMessage;
decryptingRelatedEvent.emit(
MatrixEventEvent.Decrypted,
decryptingRelatedEvent,
undefined,
decryptingRelatedEvent.getPushDetails(),
);
decryptingRelatedEvent.emit(MatrixEventEvent.Decrypted, decryptingRelatedEvent);
expect(addLocationsSpy).not.toHaveBeenCalled();
});