Refactor MatrixActions to something much easier to grok.
This commit is contained in:
parent
3e532e3722
commit
60d8ebb914
3 changed files with 52 additions and 85 deletions
|
@ -42,7 +42,7 @@ class TagOrderStore extends Store {
|
|||
__onDispatch(payload) {
|
||||
switch (payload.action) {
|
||||
// Initialise state after initial sync
|
||||
case 'MatrixSync': {
|
||||
case 'MatrixActions.sync': {
|
||||
if (!(payload.prevState === 'PREPARED' && payload.state === 'SYNCING')) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue