Use correct condition for getting account data after first sync

so that we can get tags sooner.
pull/21833/head
lukebarnard 2018-01-26 19:39:06 +01:00
parent 02824cfacf
commit 40907ecf29
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class TagOrderStore extends Store {
switch (payload.action) {
// Initialise state after initial sync
case 'MatrixActions.sync': {
if (!(payload.prevState === 'PREPARED' && payload.state === 'SYNCING')) {
if (!(payload.prevState !== 'PREPARED' && payload.state === 'PREPARED')) {
break;
}
const tagOrderingEvent = payload.matrixClient.getAccountData('im.vector.web.tag_ordering');