mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Fix starting of video messages.
This commit is contained in:
parent
6e5dfc79d4
commit
6b8f80bd63
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ Gif::Gif(
|
|||
setDocumentLinks(_data, realParent, [=] {
|
||||
if (!_data->createMediaView()->canBePlayed(realParent)
|
||||
|| !_data->isAnimation()
|
||||
|| _data->isVideoMessage()
|
||||
|| !CanPlayInline(_data)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue