mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Show audio file performer-title in dialogs list.
This commit is contained in:
parent
87ab4d9dd1
commit
31b82a5d92
1 changed files with 3 additions and 2 deletions
|
@ -482,8 +482,9 @@ QString MediaFile::chatsListText() const {
|
||||||
return lang(lng_in_dlg_video);
|
return lang(lng_in_dlg_video);
|
||||||
} else if (_document->isVoiceMessage()) {
|
} else if (_document->isVoiceMessage()) {
|
||||||
return lang(lng_in_dlg_audio);
|
return lang(lng_in_dlg_audio);
|
||||||
} else if (!_document->filename().isEmpty()) {
|
} else if (const auto name = _document->composeNameString();
|
||||||
return _document->filename();
|
!name.isEmpty()) {
|
||||||
|
return name;
|
||||||
} else if (_document->isAudioFile()) {
|
} else if (_document->isAudioFile()) {
|
||||||
return lang(lng_in_dlg_audio_file);
|
return lang(lng_in_dlg_audio_file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue