mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -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);
|
||||
} else if (_document->isVoiceMessage()) {
|
||||
return lang(lng_in_dlg_audio);
|
||||
} else if (!_document->filename().isEmpty()) {
|
||||
return _document->filename();
|
||||
} else if (const auto name = _document->composeNameString();
|
||||
!name.isEmpty()) {
|
||||
return name;
|
||||
} else if (_document->isAudioFile()) {
|
||||
return lang(lng_in_dlg_audio_file);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue