mirror of https://github.com/vector-im/riot-web
s/then/done/
parent
a58a6275e5
commit
806477dcce
|
@ -279,7 +279,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
if (inputs.length == 1) {
|
if (inputs.length == 1) {
|
||||||
// for a single address, we just send the invite
|
// for a single address, we just send the invite
|
||||||
promise.then(() => {
|
promise.done(() => {
|
||||||
this.doInvite(inputs[0]);
|
this.doInvite(inputs[0]);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue