2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme, rich preview drafts.

This commit is contained in:
John Preston
2023-10-19 18:20:27 +04:00
parent b2e8e0431e
commit b1823d981b
21 changed files with 268 additions and 174 deletions

View File

@@ -3261,7 +3261,8 @@ not_null<WebPageData*> Session::processWebpage(const MTPWebPage &data) {
case mtpc_webPageEmpty: {
const auto result = webpage(data.c_webPageEmpty().vid().v);
if (result->pendingTill > 0) {
result->pendingTill = -1; // failed
result->pendingTill = 0;
result->failed = 1;
notifyWebPageUpdateDelayed(result);
}
return result;