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

Bugfix, show status updates on the correct chatbox.

parent ae9e8634
......@@ -380,8 +380,10 @@ xmppchat.ChatBoxView = Backbone.View.extend({
}
}
} else if (_.has(changed.changes, '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