Fix message view using the wrong attribute

pull/749/head
lilia 11 years ago
parent cfd4ccc803
commit 3795ea5070

@ -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…
Cancel
Save