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(); validateGoodThumbnail();
if (isAudioFile() if (isAudioFile() || isAnimation() || isVoiceMessage()) {
|| (isAnimation() && !isVideoMessage())
|| isVoiceMessage()) {
setMaybeSupportsStreaming(true); setMaybeSupportsStreaming(true);
} }
} }