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.
pull/21833/head
David Baker 2017-05-05 10:48:54 +01:00
parent 8e3851b380
commit e00605571b
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
};
},