Fix message timestamp in Lightbox

This commit is contained in:
Fedor Indutny 2023-09-26 20:04:41 +02:00 committed by GitHub
parent a32a345500
commit 190ec43703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -776,7 +776,7 @@ function LightboxHeader({
<div className="Lightbox__header--content">
<div className="Lightbox__header--name">{conversation.title}</div>
<div className="Lightbox__header--timestamp">
{formatDateTimeForAttachment(i18n, message.received_at_ms ?? now)}
{formatDateTimeForAttachment(i18n, message.sent_at ?? now)}
</div>
</div>
</div>