mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
received messages should show when they were received, not when they were created
This commit is contained in:
parent
66438a3688
commit
1b4d8cf794
1 changed files with 3 additions and 3 deletions
|
|
@ -178,7 +178,7 @@
|
|||
<div v-if="!chatItem.is_outbound" class="text-xs text-gray-500 mt-0.5 flex flex-col">
|
||||
|
||||
<!-- received timestamp -->
|
||||
<span @click="showReceivedMessageInfo(chatItem.lxmf_message)" class="cursor-pointer">{{ formatSecondsAgo(chatItem.lxmf_message.timestamp) }}</span>
|
||||
<span @click="showReceivedMessageInfo(chatItem.lxmf_message)" class="cursor-pointer">{{ formatTimeAgo(chatItem.lxmf_message.created_at) }}</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -974,8 +974,8 @@ export default {
|
|||
}
|
||||
|
||||
},
|
||||
formatSecondsAgo: function(seconds) {
|
||||
return Utils.formatSecondsAgo(seconds);
|
||||
formatTimeAgo: function(datetimeString) {
|
||||
return Utils.formatTimeAgo(datetimeString);
|
||||
},
|
||||
formatBytes: function(bytes) {
|
||||
return Utils.formatBytes(bytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue