Commit 76b488a6 authored by Kim Alvefur's avatar Kim Alvefur Committed by JC Brand

Bugfix. Promise.resolve is not a constructor

parent 65ad33ec
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment