You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Refactor Sync and fix initialSyncLimit
(#2587)
* Small tidy-up to sync.ts * Convert doSync into a while loop * Apply `initialSyncLimit` only to initial syncs * Convert matrix-client-syncing spec to TS * Add tests around initial sync filtering * Switch confusing filterId field for `filter` * Tweak doSync error control flow * Fix error control flow intricacies * use includes * Add tests * Fix some strict mode errors * Fix more strict mode errors * Fix some strict mode errors
This commit is contained in:
committed by
GitHub
parent
5e4474b959
commit
b789cc5933
@ -147,9 +147,9 @@ export function mkEventCustom<T>(base: T): T & GeneratedMetadata {
|
||||
interface IPresenceOpts {
|
||||
user?: string;
|
||||
sender?: string;
|
||||
url: string;
|
||||
name: string;
|
||||
ago: number;
|
||||
url?: string;
|
||||
name?: string;
|
||||
ago?: number;
|
||||
presence?: string;
|
||||
event?: boolean;
|
||||
}
|
||||
|
Reference in New Issue
Block a user