From fb14eeeb1e1e324f78b0df01d812264d627eec5f Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 6 Nov 2025 13:43:23 +0300 Subject: [PATCH] Replaced full profile with short info on open from paid reactions box. --- Telegram/SourceFiles/payments/payments_reaction_process.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/payments/payments_reaction_process.cpp b/Telegram/SourceFiles/payments/payments_reaction_process.cpp index 81f9aed290..22e6b7569f 100644 --- a/Telegram/SourceFiles/payments/payments_reaction_process.cpp +++ b/Telegram/SourceFiles/payments/payments_reaction_process.cpp @@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "api/api_credits.h" #include "api/api_global_privacy.h" #include "apiwrap.h" +#include "boxes/peers/prepare_short_info_box.h" #include "boxes/send_credits_box.h" // CreditsEmojiSmall. #include "core/ui_integration.h" // TextContext. #include "data/components/credits.h" @@ -191,7 +192,7 @@ void ShowPaidReactionDetails( ? peer->shortName() : tr::lng_paid_react_anonymous(tr::now); const auto open = [=] { - controller->showPeerInfo(peer); + controller->uiShow()->show(PrepareShortInfoBox(peer, controller)); }; top.push_back({ .name = name,