Fix message view using the wrong attribute
This commit is contained in:
parent
cfd4ccc803
commit
3795ea5070
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
||||||
message: this.model.get('body'),
|
message: this.model.get('body'),
|
||||||
timestamp: moment(this.model.get('received_at')).fromNow(),
|
timestamp: moment(this.model.get('received_at')).fromNow(),
|
||||||
bubble_class: this.model.get('type') === 'outgoing' ? 'sent' : 'incoming',
|
bubble_class: this.model.get('type') === 'outgoing' ? 'sent' : 'incoming',
|
||||||
sender: this.model.get('sender')
|
sender: this.model.get('source')
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue