Always try to stream video messages.

This commit is contained in:
John Preston 2019-12-13 17:51:14 +03:00
parent 38199276f1
commit 418b0e7db0
1 changed files with 1 additions and 3 deletions

View File

@ -549,9 +549,7 @@ void DocumentData::setattributes(
}
}
validateGoodThumbnail();
if (isAudioFile()
|| (isAnimation() && !isVideoMessage())
|| isVoiceMessage()) {
if (isAudioFile() || isAnimation() || isVoiceMessage()) {
setMaybeSupportsStreaming(true);
}
}