Commit bd81a98f authored by JC Brand's avatar JC Brand

converse-rosterview: Remove the rosterview when tearing down.

It gets created anew when reconnecting or logging in.
parent c877f63b
......@@ -52,6 +52,16 @@
this.__super__.afterReconnected.apply(this, arguments);
},
_tearDown: function () {
/* Remove the rosterview when tearing down. It gets created
* anew when reconnecting or logging in.
*/
this.__super__._tearDown.apply(this, arguments);
if (!_.isUndefined(this.rosterview)) {
this.rosterview.remove();
}
},
RosterGroups: {
comparator: function () {
// RosterGroupsComparator only gets set later (once i18n is
......
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