mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
some notes
This commit is contained in:
parent
001dbefbcf
commit
0f29fdb24e
@ -44,6 +44,9 @@ rooms should report how many messages they have queued up, and each time they se
|
|||||||
- DONE: add SyncStatus as ObservableValue of enum in Sync
|
- DONE: add SyncStatus as ObservableValue of enum in Sync
|
||||||
- DONE: cleanup SessionContainer
|
- DONE: cleanup SessionContainer
|
||||||
- move all imports to non-default
|
- move all imports to non-default
|
||||||
|
- remove #ifdef
|
||||||
|
- move EventEmitter to utils
|
||||||
|
- move all lower-cased files
|
||||||
- change main.js to pass in a creation function of a SessionContainer instead of everything it is replacing
|
- change main.js to pass in a creation function of a SessionContainer instead of everything it is replacing
|
||||||
- show load progress in LoginView/SessionPickView and do away with loading screen
|
- show load progress in LoginView/SessionPickView and do away with loading screen
|
||||||
- adjust BrawlViewModel, SessionPickViewModel and LoginViewModel to use a SessionContainer
|
- adjust BrawlViewModel, SessionPickViewModel and LoginViewModel to use a SessionContainer
|
||||||
|
@ -80,6 +80,7 @@ export class Sync {
|
|||||||
async _syncRequest(syncToken, timeout) {
|
async _syncRequest(syncToken, timeout) {
|
||||||
let {syncFilterId} = this._session;
|
let {syncFilterId} = this._session;
|
||||||
if (typeof syncFilterId !== "string") {
|
if (typeof syncFilterId !== "string") {
|
||||||
|
// TODO: this should be interruptable by stop, we can reuse _currentRequest
|
||||||
syncFilterId = (await this._hsApi.createFilter(this._session.user.id, {room: {state: {lazy_load_members: true}}}).response()).filter_id;
|
syncFilterId = (await this._hsApi.createFilter(this._session.user.id, {room: {state: {lazy_load_members: true}}}).response()).filter_id;
|
||||||
}
|
}
|
||||||
this._currentRequest = this._hsApi.sync(syncToken, syncFilterId, timeout);
|
this._currentRequest = this._hsApi.sync(syncToken, syncFilterId, timeout);
|
||||||
|
Loading…
Reference in New Issue
Block a user