Fix the spinner to actually appear
We started with clientSyncState being null, which it remained until the SYNCING event was emitted. We need to set clientSyncState's initial value correctly.
This commit is contained in:
parent
8e3851b380
commit
e00605571b
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ var TimelinePanel = React.createClass({
|
|||
forwardPaginating: false,
|
||||
|
||||
// cache of matrixClient.getSyncState() (but from the 'sync' event)
|
||||
clientSyncState: null,
|
||||
clientSyncState: MatrixClientPeg.get().getSyncState(),
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue