Use message date instead of file date.

This commit is contained in:
John Preston 2023-07-27 23:48:41 +04:00
parent b663edff09
commit 48687d443f
1 changed files with 1 additions and 1 deletions

View File

@ -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(