Commit db7c0ba7 authored by JC Brand's avatar JC Brand

Automatically open the online users box if a user requests subscription.

parent 4c6d6b2f
......@@ -984,6 +984,7 @@ xmppchat.RosterItemView = Backbone.View.extend({
ev.preventDefault();
that.declineRequest();
});
xmppchat.chatboxesview.openChat('online-users-container');
} else if (subscription === 'both') {
this.$el.addClass('current-xmpp-contact');
this.$el.html(this.template(item.toJSON()));
......
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