mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Fix empty web page preview removing.
This commit is contained in:
@@ -2559,6 +2559,7 @@ not_null<WebPageData*> Session::processWebpage(const MTPWebPage &data) {
|
|||||||
const auto result = webpage(data.c_webPageEmpty().vid().v);
|
const auto result = webpage(data.c_webPageEmpty().vid().v);
|
||||||
if (result->pendingTill > 0) {
|
if (result->pendingTill > 0) {
|
||||||
result->pendingTill = -1; // failed
|
result->pendingTill = -1; // failed
|
||||||
|
notifyWebPageUpdateDelayed(result);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
} break;
|
} break;
|
||||||
|
@@ -892,7 +892,7 @@ void Stickers::gifsReceived(const QVector<MTPDocument> &items, int32 hash) {
|
|||||||
const auto document = owner().processDocument(item);
|
const auto document = owner().processDocument(item);
|
||||||
if (!document->isGifv()) {
|
if (!document->isGifv()) {
|
||||||
LOG(("API Error: "
|
LOG(("API Error: "
|
||||||
"bad document returned in HistoryWidget::savedGifsGot!"));
|
"bad document returned in Stickers::gifsReceived!"));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user