Explorar o código

Bugfix. Method wasn't called

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
249ee2b5ca
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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();