2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix GIF not opening in fullscreen player in Shared Media

This commit is contained in:
RadRussianRus
2020-07-03 06:03:06 +03:00
parent f633857744
commit 34cdb7ca4d

View File

@@ -341,10 +341,12 @@ void DocumentOpenClickHandler::Open(
|| data->isVideoMessage()) {
const auto msgId = context ? context->fullId() : FullMsgId();
Media::Player::instance()->playPause({ data, msgId });
/*
} else if (context
&& data->isAnimation()
&& HistoryView::Gif::CanPlayInline(data)) {
data->owner().requestAnimationPlayInline(context);
*/
} else {
Core::App().showDocument(data, context);
}