Display sent_at timestamps instead of received_at
This commit is contained in:
parent
3e39271220
commit
8a17953468
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue