소스 검색

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();