mirror of https://github.com/vector-im/riot-web
Use correct condition for getting account data after first sync
so that we can get tags sooner.pull/21833/head
parent
02824cfacf
commit
40907ecf29
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue