mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Fixed song covers for voice chat records.
This commit is contained in:
@@ -111,7 +111,9 @@ void LoadThumbnailFromExternal(not_null<DocumentData*> document) {
|
||||
const auto songData = document->song();
|
||||
if (!songData
|
||||
|| songData->performer.isEmpty()
|
||||
|| songData->title.isEmpty()) {
|
||||
|| songData->title.isEmpty()
|
||||
// Ignore cover for voice chat records.
|
||||
|| document->hasMimeType(qstr("audio/ogg"))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user