Răsfoiți Sursa

Bugfix. Method wasn't called

JC Brand 7 ani în urmă
părinte
comite
249ee2b5ca
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/converse-rosterview.js

+ 2 - 2
src/converse-rosterview.js

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