Display sent_at timestamps instead of received_at

This commit is contained in:
lilia 2015-05-26 13:31:17 -07:00
parent 3e39271220
commit 8a17953468

View file

@ -60,7 +60,7 @@
this.$el.html(
Mustache.render(this.template, {
message: this.model.get('body'),
timestamp: moment(this.model.get('received_at')).fromNow(),
timestamp: moment(this.model.get('sent_at')).fromNow(),
sender: (contact && contact.getTitle()) || '',
avatar_url: (contact && contact.getAvatarUrl())
}, this.render_partials())