Bugfix. Promise.resolve is not a constructor
This commit is contained in:
parent
65ad33ec81
commit
76b488a672
@ -929,7 +929,7 @@ export const api = _converse.api = {
|
||||
}
|
||||
} else {
|
||||
_converse.connection.sendIQ(stanza);
|
||||
promise = new Promise.resolve();
|
||||
promise = Promise.resolve();
|
||||
}
|
||||
api.trigger('send', stanza);
|
||||
return promise;
|
||||
|
Loading…
Reference in New Issue
Block a user