Replaced full profile with short info on open from paid reactions box.

This commit is contained in:
23rd
2025-11-06 13:43:23 +03:00
parent 0c701d9d95
commit fb14eeeb1e
@@ -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,