浏览代码

Bugfix. Method wasn't called

JC Brand 7 年之前
父节点
当前提交
249ee2b5ca
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/converse-rosterview.js

+ 2 - 2
src/converse-rosterview.js

@@ -210,11 +210,11 @@
                 },
 
                 shouldBeVisible () {
-                    return _converse.roster.length >= 7 || this.isActive();
+                    return _converse.roster.length >= 5 || this.isActive();
                 },
 
                 showOrHide () {
-                    if (this.shouldBeVisible) {
+                    if (this.shouldBeVisible()) {
                         this.show();
                     } else {
                         this.hide();