diff options
| author | levlam <levlam@telegram.org> | 2026-01-02 16:55:00 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-01-02 16:55:00 +0300 |
| commit | 00b08456124bc5ad7787462d0fa0eba2019b567c (patch) | |
| tree | 8fb8a3a4174fe76aec76b2f19d819e74b0149ecc /td/telegram/StarGift.cpp | |
| parent | a125a69333323ea7a0c8473411b13d4c20b8433a (diff) | |
Create theme chat for upgraded gifts.
Diffstat (limited to 'td/telegram/StarGift.cpp')
| -rw-r--r-- | td/telegram/StarGift.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/td/telegram/StarGift.cpp b/td/telegram/StarGift.cpp index 969fc8595..d16692d29 100644 --- a/td/telegram/StarGift.cpp +++ b/td/telegram/StarGift.cpp @@ -130,6 +130,7 @@ StarGift::StarGift(Td *td, telegram_api::object_ptr<telegram_api::StarGift> star value_usd_amount_ = star_gift->value_usd_amount_; if (star_gift->theme_peer_ != nullptr) { theme_dialog_id_ = DialogId(star_gift->theme_peer_); + td->dialog_manager_->force_create_dialog(theme_dialog_id_, "StarGift", true); } if (star_gift->peer_color_ != nullptr) { if (star_gift->peer_color_->get_id() == telegram_api::peerColorCollectible::ID) { |
