Display sent_at timestamps instead of received_at

pull/749/head
lilia 10 years ago
parent 3e39271220
commit 8a17953468

@ -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())

Loading…
Cancel
Save