mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Attempt to fix a weird assertion violation.
This commit is contained in:
@@ -1336,7 +1336,7 @@ bool DocumentData::isSongWithCover() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool DocumentData::isAudioFile() const {
|
bool DocumentData::isAudioFile() const {
|
||||||
if (isVoiceMessage()) {
|
if (isVoiceMessage() || isVideoFile()) {
|
||||||
return false;
|
return false;
|
||||||
} else if (isSong()) {
|
} else if (isSong()) {
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user