Skip to content

Commit fb14eee

Browse files
committed
Replaced full profile with short info on open from paid reactions box.
1 parent 0c701d9 commit fb14eee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Telegram/SourceFiles/payments/payments_reaction_process.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ For license and copyright information please follow this link:
1010
#include "api/api_credits.h"
1111
#include "api/api_global_privacy.h"
1212
#include "apiwrap.h"
13+
#include "boxes/peers/prepare_short_info_box.h"
1314
#include "boxes/send_credits_box.h" // CreditsEmojiSmall.
1415
#include "core/ui_integration.h" // TextContext.
1516
#include "data/components/credits.h"
@@ -191,7 +192,7 @@ void ShowPaidReactionDetails(
191192
? peer->shortName()
192193
: tr::lng_paid_react_anonymous(tr::now);
193194
const auto open = [=] {
194-
controller->showPeerInfo(peer);
195+
controller->uiShow()->show(PrepareShortInfoBox(peer, controller));
195196
};
196197
top.push_back({
197198
.name = name,

0 commit comments

Comments
 (0)