mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Attempt to fix a weird assertion violation.
This commit is contained in:
parent
72df3a8f91
commit
5bb90679a8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue