mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix grouping of music files / just files.
This commit is contained in:
@@ -1508,10 +1508,7 @@ bool DocumentData::isAudioFile() const {
|
||||
}
|
||||
|
||||
bool DocumentData::isSharedMediaMusic() const {
|
||||
if (const auto songData = song()) {
|
||||
return (songData->duration > 0);
|
||||
}
|
||||
return false;
|
||||
return isSong();
|
||||
}
|
||||
|
||||
bool DocumentData::isVideoFile() const {
|
||||
|
Reference in New Issue
Block a user