Fix starting of video messages.
This commit is contained in:
parent
6e5dfc79d4
commit
6b8f80bd63
|
@ -92,6 +92,7 @@ Gif::Gif(
|
|||
setDocumentLinks(_data, realParent, [=] {
|
||||
if (!_data->createMediaView()->canBePlayed(realParent)
|
||||
|| !_data->isAnimation()
|
||||
|| _data->isVideoMessage()
|
||||
|| !CanPlayInline(_data)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue