Start sending stable m.marked_unread events (#28478)

* Start sending stable `m.marked_unread` events

* Update tests
This commit is contained in:
Tulir Asokan 2024-11-18 11:25:36 +01:00 committed by GitHub
parent abf6d58b7b
commit 72a2773629
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 10 deletions

View file

@ -150,7 +150,7 @@ describe("RoomGeneralContextMenu", () => {
await sleep(0);
expect(mockClient.setRoomAccountData).toHaveBeenCalledWith(ROOM_ID, "com.famedly.marked_unread", {
expect(mockClient.setRoomAccountData).toHaveBeenCalledWith(ROOM_ID, "m.marked_unread", {
unread: true,
});
expect(onFinished).toHaveBeenCalled();