1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Fix sync init when thread unread notif is not supported (#2739)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Germain
2022-10-07 11:38:53 +01:00
committed by GitHub
parent 029280b9d9
commit 62007ec673
9 changed files with 160 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import { UNREAD_THREAD_NOTIFICATIONS } from "../../src/@types/sync";
import { Filter, IFilterDefinition } from "../../src/filter";
describe("Filter", function() {
@@ -50,7 +51,7 @@ describe("Filter", function() {
expect(filter.getDefinition()).toEqual({
room: {
timeline: {
unread_thread_notifications: true,
[UNREAD_THREAD_NOTIFICATIONS.name]: true,
},
},
});