Bugfix. Promise is not callable
This commit is contained in:
parent
7270abb08b
commit
1c89af47ef
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -65965,7 +65965,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|||||||
entity.identities.reset();
|
entity.identities.reset();
|
||||||
entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise();
|
entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise();
|
||||||
entity.queryInfo();
|
entity.queryInfo();
|
||||||
return entity.waitUntilFeaturesDiscovered();
|
return entity.waitUntilFeaturesDiscovered;
|
||||||
}).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
|
}).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -598,7 +598,7 @@
|
|||||||
entity.identities.reset();
|
entity.identities.reset();
|
||||||
entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise()
|
entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise()
|
||||||
entity.queryInfo();
|
entity.queryInfo();
|
||||||
return entity.waitUntilFeaturesDiscovered();
|
return entity.waitUntilFeaturesDiscovered;
|
||||||
})
|
})
|
||||||
.catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
|
.catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user