From 1c89af47ef1735672002a96512c15b595c26a1bf Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sat, 13 Oct 2018 14:08:02 +0200 Subject: [PATCH] Bugfix. Promise is not callable --- dist/converse.js | 2 +- src/converse-disco.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/converse.js b/dist/converse.js index 2eff27b07..495c10baa 100644 --- a/dist/converse.js +++ b/dist/converse.js @@ -65965,7 +65965,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ entity.identities.reset(); entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise(); entity.queryInfo(); - return entity.waitUntilFeaturesDiscovered(); + return entity.waitUntilFeaturesDiscovered; }).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL)); }, diff --git a/src/converse-disco.js b/src/converse-disco.js index 6e1587bfb..ecd179793 100644 --- a/src/converse-disco.js +++ b/src/converse-disco.js @@ -598,7 +598,7 @@ entity.identities.reset(); entity.waitUntilFeaturesDiscovered = utils.getResolveablePromise() entity.queryInfo(); - return entity.waitUntilFeaturesDiscovered(); + return entity.waitUntilFeaturesDiscovered; }) .catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL)); },