Fixes #372
This commit is contained in:
parent
292d4a1bc9
commit
63e3794ba7
10
converse.js
10
converse.js
@ -4003,10 +4003,12 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
show: function () {
|
show: function () {
|
||||||
// FIXME: There's a bug here, if show_only_online_users is true
|
this.$el.show();
|
||||||
// Possible solution, get the group, call _.each and check
|
_.each(this.getAll(), function (contactView) {
|
||||||
// showInRoster
|
if (contactView.model.showInRoster()) {
|
||||||
this.$el.nextUntil('dt').addBack().show();
|
contactView.$el.show();
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
hide: function () {
|
hide: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user