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

Start showing gifts from stories.

This commit is contained in:
John Preston
2025-01-07 14:52:25 +04:00
parent dcb98ce0fb
commit 51213b499f
32 changed files with 347 additions and 314 deletions

View File

@@ -416,8 +416,7 @@ void ShowSendErrorToast(
return;
}
const auto boost = [=] {
const auto window = show->resolveWindow(
ChatHelpers::WindowUsage::PremiumPromo);
const auto window = show->resolveWindow();
window->resolveBoostState(peer->asChannel(), error.boostsToLift);
};
show->showToast({