Commit 3428b355 authored by JC Brand's avatar JC Brand

Bugfix, show status updates on the correct chatbox.

parent ae9e8634
......@@ -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);
},
......
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