2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-13 14:16:03 +00:00

Fix inline GIFs play start in separate windows.

Fixes #25694.
This commit is contained in:
John Preston
2023-01-18 14:57:07 +04:00
parent b3667d69a1
commit 2c75fe033c
9 changed files with 16 additions and 53 deletions

View File

@@ -286,10 +286,6 @@ void ResolveDocument(
|| document->isVoiceMessage()
|| document->isVideoMessage()) {
::Media::Player::instance()->playPause({ document, msgId });
} else if (item
&& document->isAnimation()
&& HistoryView::Gif::CanPlayInline(document)) {
document->owner().requestAnimationPlayInline(item);
} else {
showDocument();
}