Commit 4c83a233 authored by JC Brand's avatar JC Brand

Revert "Reject the `waitUntilFeaturesDiscovered` promise if query failed"

This reverts commit 01f0a652.

Updates #1410
parent 3fe6efc2
...@@ -8,12 +8,13 @@ ...@@ -8,12 +8,13 @@
- Set releases URL to new Github repo - Set releases URL to new Github repo
- #1369 Don't wrongly interpret message with `subject` as a topic change. - #1369 Don't wrongly interpret message with `subject` as a topic change.
- #1405 Status of contacts list are not displayed properly - #1405 Status of contacts list are not displayed properly
- #1408 new config option `roomconfig_whitelist` - #1408 New config option `roomconfig_whitelist`
- #1412 muc moderator commands can be disabled selectively by config - #1410 HTTP upload not working if conversations push proxy is used
- #1413 fix moderator commands that change affiliation - #1412 MUC moderator commands can be disabled selectively by config
- #1413 Fix moderator commands that change affiliation
- #1414 Prevent duplicate messages on MUC join - #1414 Prevent duplicate messages on MUC join
- #1417 Margin between nickname and badge - #1417 Margin between nickname and badge
- #1421 fix direct invite for membersonly room - #1421 Fix direct invite for membersonly room
- #1422 Resurrect the `muc_show_join_leave` option - #1422 Resurrect the `muc_show_join_leave` option
- #1442 MUC read receipts causing empty lines - #1442 MUC read receipts causing empty lines
......
...@@ -64551,7 +64551,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins.add('converse-dis ...@@ -64551,7 +64551,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins.add('converse-dis
const stanza = await _converse.api.disco.info(this.get('jid'), null); const stanza = await _converse.api.disco.info(this.get('jid'), null);
this.onInfo(stanza); this.onInfo(stanza);
} catch (iq) { } catch (iq) {
this.waitUntilFeaturesDiscovered.reject(iq); this.waitUntilFeaturesDiscovered.resolve(this);
_converse.log(iq, Strophe.LogLevel.ERROR); _converse.log(iq, Strophe.LogLevel.ERROR);
} }
...@@ -130,8 +130,8 @@ converse.plugins.add('converse-disco', { ...@@ -130,8 +130,8 @@ converse.plugins.add('converse-disco', {
try { try {
const stanza = await _converse.api.disco.info(this.get('jid'), null); const stanza = await _converse.api.disco.info(this.get('jid'), null);
this.onInfo(stanza); this.onInfo(stanza);
} catch (iq) { } catch(iq) {
this.waitUntilFeaturesDiscovered.reject(iq); this.waitUntilFeaturesDiscovered.resolve(this);
_converse.log(iq, Strophe.LogLevel.ERROR); _converse.log(iq, Strophe.LogLevel.ERROR);
} }
}, },
......
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