1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-06 12:02:40 +03:00
This commit is contained in:
Kegan Dougal
2022-08-19 18:15:33 +01:00
parent 2cda229bc4
commit d2535b8516

View File

@@ -97,8 +97,8 @@ describe("SlidingSync", () => {
};
const ext = {
name: () => "custom_extension",
onRequest: (initial) => { return { initial: initial } },
onResponse: (res) => { return {} },
onRequest: (initial) => { return { initial: initial }; },
onResponse: (res) => { return {}; },
when: () => ExtensionState.PreProcess,
};
slidingSync.modifyRoomSubscriptions(new Set([roomId]));