Commit b1e5cb26 authored by JC Brand's avatar JC Brand

rosterview: When filtering, contacts in closed groups appear.

parent e59168a3
......@@ -32,6 +32,8 @@
- #866 Add babel in order to support ES2015 syntax [jcbrand]
#### Bugfixes:
- Roster filter is not shown when all groups are collapsed. [jcbrand]
- When filtering, contacts in closed groups appear. [jcbrand]
- Room name wasn't being updated after changing it in the configuration form. [jcbrand]
- Server disco features were "forgotten" after logging out and then logging in again. [jcbrand]
- Don't show duplicate sent groupchat messages in Slack chat rooms. [jcbrand]
......
......@@ -819,9 +819,13 @@
_.each(matches, (item) => {
this.get(item.get('id')).$el.hide();
});
_.each(this.model.contacts.reject(
utils.contains.not('fullname', q)),
(item) => { this.get(item.get('id')).$el.show(); });
if (this.model.get('state') === _converse.OPENED) {
_.each(this.model.contacts.reject(
utils.contains.not('fullname', q)),
(item) => {
this.get(item.get('id')).$el.show();
});
}
this.showIfNecessary();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment