aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/Premium.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-10-23 16:33:27 +0300
committerlevlam <levlam@telegram.org>2025-10-23 16:33:27 +0300
commit64e2232a9b2f91dd539fe6f4d3ed9ac3ab0d1d85 (patch)
treecd8155e920ef02146913edf670d6506b7555978f /td/telegram/Premium.cpp
parent3cf06a038599dd442f335996a78946ef7a03e400 (diff)
Fix calls to get_text_entities_object.
Diffstat (limited to 'td/telegram/Premium.cpp')
-rw-r--r--td/telegram/Premium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/Premium.cpp b/td/telegram/Premium.cpp
index f19ff7596..1ddc61e21 100644
--- a/td/telegram/Premium.cpp
+++ b/td/telegram/Premium.cpp
@@ -370,7 +370,7 @@ class GetPremiumPromoQuery final : public Td::ResultHandler {
auto period_options = get_premium_gift_options(std::move(promo->period_options_));
promise_.set_value(
- td_api::make_object<td_api::premiumState>(get_formatted_text_object(td_->user_manager_.get(), state, true, 0),
+ td_api::make_object<td_api::premiumState>(get_formatted_text_object(td_->user_manager_.get(), state, true, -1),
get_premium_state_payment_options_object(period_options),
std::move(animations), std::move(business_animations)));
}