mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix overlooked q
This commit is contained in:
parent
69eb1a49d4
commit
7238c4dfac
@ -442,7 +442,7 @@ module.exports = React.createClass({
|
||||
if (needsUpdate.length > 0) {
|
||||
// If some of the rules need to be ported then wait for the porting
|
||||
// to happen and then fetch the rules again.
|
||||
return q.all(needsUpdate).then( function() {
|
||||
return Promise.all(needsUpdate).then( function() {
|
||||
return cli.getPushRules();
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user