From fcd1062d783582a84c157f017ee4bf9b0ae9a3c2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 28 Jul 2023 12:09:51 +0400 Subject: [PATCH] Use message date instead of file date in voices. --- Telegram/SourceFiles/overview/overview_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/overview/overview_layout.cpp b/Telegram/SourceFiles/overview/overview_layout.cpp index cae666b37..9ac811f19 100644 --- a/Telegram/SourceFiles/overview/overview_layout.cpp +++ b/Telegram/SourceFiles/overview/overview_layout.cpp @@ -700,7 +700,7 @@ Voice::Voice( updateName(); const auto dateText = Ui::Text::Link( - langDateTime(base::unixtime::parse(_data->date))); // Link 1. + langDateTime(base::unixtime::parse(parent->date()))); // Link 1. _details.setMarkedText( st::defaultTextStyle, tr::lng_date_and_duration(