mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix empty web page preview removing.
This commit is contained in:
parent
20ea3af2f0
commit
5ea5d3c60d
2 changed files with 2 additions and 1 deletions
|
@ -2559,6 +2559,7 @@ not_null<WebPageData*> Session::processWebpage(const MTPWebPage &data) {
|
|||
const auto result = webpage(data.c_webPageEmpty().vid().v);
|
||||
if (result->pendingTill > 0) {
|
||||
result->pendingTill = -1; // failed
|
||||
notifyWebPageUpdateDelayed(result);
|
||||
}
|
||||
return result;
|
||||
} break;
|
||||
|
|
|
@ -892,7 +892,7 @@ void Stickers::gifsReceived(const QVector<MTPDocument> &items, int32 hash) {
|
|||
const auto document = owner().processDocument(item);
|
||||
if (!document->isGifv()) {
|
||||
LOG(("API Error: "
|
||||
"bad document returned in HistoryWidget::savedGifsGot!"));
|
||||
"bad document returned in Stickers::gifsReceived!"));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue