mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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