[Fixes #5000] Use timestamp from last message if available

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
Andrea Maria Piana 2018-07-10 10:28:45 +02:00
parent 671514c33b
commit 1ad6f40f57
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@
[react/view styles/item-upper-container [react/view styles/item-upper-container
[chat-list-item-name truncated-chat-name group-chat public? public-key] [chat-list-item-name truncated-chat-name group-chat public? public-key]
[react/view styles/message-status-container [react/view styles/message-status-container
[message-timestamp timestamp]]] [message-timestamp (or (:timestamp last-message)
timestamp)]]]
[react/view styles/item-lower-container [react/view styles/item-lower-container
[message-content-text last-message] [message-content-text last-message]
[unviewed-indicator chat-id]]]]]))) [unviewed-indicator chat-id]]]]])))