Bugfix, show status updates on the correct chatbox.
This commit is contained in:
parent
ae9e8634e3
commit
3428b355c7
|
@ -380,7 +380,9 @@ xmppchat.ChatBoxView = Backbone.View.extend({
|
|||
}
|
||||
}
|
||||
} else if (_.has(changed.changes, 'status')) {
|
||||
this.$el.find('p.user-custom-message').text(item.get('status'));
|
||||
if (item.get('jid') === this.model.get('jid')) {
|
||||
this.$el.find('p.user-custom-message').text(item.get('status'));
|
||||
}
|
||||
}
|
||||
}, this);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user