Fix GIF not opening in fullscreen player in Shared Media
This commit is contained in:
parent
f633857744
commit
34cdb7ca4d
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue