Incoming bubbles have sender's color background

// FREEBIE
This commit is contained in:
lilia 2016-03-23 16:13:41 -07:00
parent 4060221b9c
commit 512c5bf739
7 changed files with 51 additions and 84 deletions

View file

@ -100,7 +100,7 @@
}
},
render: function() {
var contact = this.model.getContact();
var contact = this.model.isIncoming() ? this.model.getContact() : null;
this.$el.html(
Mustache.render(_.result(this, 'template', ''), {
message: this.model.get('body'),