mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-26 18:41:01 +00:00
Fix empty web page preview removing.
This commit is contained in:
parent
20ea3af2f0
commit
5ea5d3c60d
@ -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…
Reference in New Issue
Block a user