Fix starting of video messages.

This commit is contained in:
John Preston 2023-01-18 16:46:53 +04:00
parent 6e5dfc79d4
commit 6b8f80bd63
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ Gif::Gif(
setDocumentLinks(_data, realParent, [=] {
if (!_data->createMediaView()->canBePlayed(realParent)
|| !_data->isAnimation()
|| _data->isVideoMessage()
|| !CanPlayInline(_data)) {
return false;
}