mirror of https://github.com/procxx/kepka.git
Always try to stream video messages.
This commit is contained in:
parent
38199276f1
commit
418b0e7db0
|
@ -549,9 +549,7 @@ void DocumentData::setattributes(
|
|||
}
|
||||
}
|
||||
validateGoodThumbnail();
|
||||
if (isAudioFile()
|
||||
|| (isAnimation() && !isVideoMessage())
|
||||
|| isVoiceMessage()) {
|
||||
if (isAudioFile() || isAnimation() || isVoiceMessage()) {
|
||||
setMaybeSupportsStreaming(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue