From 9084cdaa575136b3383cea3224af255996c83e06 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 21 Jul 2017 17:46:24 +0200 Subject: [PATCH] disco: Don't query for #items on conference components. We don't need them at that time and we'll query when a chat room gets opened. --- src/converse-disco.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/converse-disco.js b/src/converse-disco.js index 16d9b0556..91051f06f 100644 --- a/src/converse-disco.js +++ b/src/converse-disco.js @@ -80,8 +80,8 @@ }, queryForItems () { - if (_.isEmpty(this.identities.where({'category': 'server'})) && - _.isEmpty(this.identities.where({'category': 'conference'}))) { + + if (_.isEmpty(this.identities.where({'category': 'server'}))) { // Don't fetch features and items if this is not a // server or a conference component. return;