Use message date instead of file date in voices.

This commit is contained in:
John Preston 2023-07-28 12:09:51 +04:00
parent e59e7d9b97
commit fcd1062d78
1 changed files with 1 additions and 1 deletions

View File

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