mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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, [=] {
|
setDocumentLinks(_data, realParent, [=] {
|
||||||
if (!_data->createMediaView()->canBePlayed(realParent)
|
if (!_data->createMediaView()->canBePlayed(realParent)
|
||||||
|| !_data->isAnimation()
|
|| !_data->isAnimation()
|
||||||
|
|| _data->isVideoMessage()
|
||||||
|| !CanPlayInline(_data)) {
|
|| !CanPlayInline(_data)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue