You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
replace q method calls with bluebird ones
```
find src test -name '*.js' |
xargs perl -i -pe 's/q\.(all|defer|reject|delay|try|isFulfilled)\(/Promise.$1(/'
```
This commit is contained in:
@@ -55,7 +55,7 @@ export default class MultiInviter {
|
||||
this.errorTexts[addr] = 'Unrecognised address';
|
||||
}
|
||||
}
|
||||
this.deferred = q.defer();
|
||||
this.deferred = Promise.defer();
|
||||
this._inviteMore(0);
|
||||
|
||||
return this.deferred.promise;
|
||||
|
||||
Reference in New Issue
Block a user