Fix links preview.

This commit is contained in:
John Preston 2024-04-19 17:38:24 +04:00
parent 3a2c5c6d0a
commit 2ab8bb13c5

View file

@ -3510,7 +3510,7 @@ void Session::webpageApplyFields(
}, [](const auto &) {
return WebPageStickerSetPtr(nullptr);
});
if (!result->items.empty()) {
if (result && !result->items.empty()) {
return result;
}
}