Automatically open the online users box if a user requests subscription.
This commit is contained in:
parent
4c6d6b2f1a
commit
db7c0ba7eb
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user