From 48687d443fc32beea619c14c9b8ecec383c118cf Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 27 Jul 2023 23:48:41 +0400 Subject: [PATCH] Use message date instead of file date. --- 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 2f8609ace..cae666b37 100644 --- a/Telegram/SourceFiles/overview/overview_layout.cpp +++ b/Telegram/SourceFiles/overview/overview_layout.cpp @@ -1020,7 +1020,7 @@ Document::Document( , _forceFileLayout(fields.forceFileLayout) , _date(langDateTime(base::unixtime::parse(fields.dateOverride ? fields.dateOverride - : _data->date))) + : parent->date()))) , _ext(_generic.ext) , _datew(st::normalFont->width(_date)) { _name.setMarkedText(