mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added ability to show song cover in HistoryView and Overview::Layout.
This commit is contained in:
@@ -1488,6 +1488,10 @@ bool DocumentData::isSong() const {
|
||||
return (type == SongDocument);
|
||||
}
|
||||
|
||||
bool DocumentData::isSongWithCover() const {
|
||||
return isSong() && hasThumbnail();
|
||||
}
|
||||
|
||||
bool DocumentData::isAudioFile() const {
|
||||
if (isVoiceMessage()) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user