mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix GIF not opening in fullscreen player in Shared Media
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user