mirror of https://github.com/procxx/kepka.git
parent
1e8f4e428a
commit
57b27d217c
|
@ -1052,7 +1052,7 @@ void InnerWidget::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
|
|||
if (const auto item = document->session().data().message(itemId)) {
|
||||
const auto notAutoplayedGif = [&] {
|
||||
return document->isGifv()
|
||||
&& Data::AutoDownload::ShouldAutoPlay(
|
||||
&& !Data::AutoDownload::ShouldAutoPlay(
|
||||
document->session().settings().autoDownload(),
|
||||
item->history()->peer,
|
||||
document);
|
||||
|
|
|
@ -1572,7 +1572,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
|
|||
const auto notAutoplayedGif = [&] {
|
||||
return item
|
||||
&& document->isGifv()
|
||||
&& Data::AutoDownload::ShouldAutoPlay(
|
||||
&& !Data::AutoDownload::ShouldAutoPlay(
|
||||
document->session().settings().autoDownload(),
|
||||
item->history()->peer,
|
||||
document);
|
||||
|
|
|
@ -171,7 +171,7 @@ void AddDocumentActions(
|
|||
if (const auto item = document->session().data().message(contextId)) {
|
||||
const auto notAutoplayedGif = [&] {
|
||||
return document->isGifv()
|
||||
&& Data::AutoDownload::ShouldAutoPlay(
|
||||
&& !Data::AutoDownload::ShouldAutoPlay(
|
||||
document->session().settings().autoDownload(),
|
||||
item->history()->peer,
|
||||
document);
|
||||
|
|
Loading…
Reference in New Issue