Commit 9084cdaa authored by JC Brand's avatar JC Brand

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.
parent 439e37fe
......@@ -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;
......
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