mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Replaced user info with short box for admins in section of kicked users.
This commit is contained in:
parent
721a642a2f
commit
3e89910749
1 changed files with 4 additions and 2 deletions
|
@ -1700,8 +1700,10 @@ base::unique_qptr<Ui::PopupMenu> ParticipantsBoxController::rowContextMenu(
|
||||||
: participant->isBroadcast()
|
: participant->isBroadcast()
|
||||||
? tr::lng_context_view_channel
|
? tr::lng_context_view_channel
|
||||||
: tr::lng_context_view_group)(tr::now),
|
: tr::lng_context_view_group)(tr::now),
|
||||||
crl::guard(this, [=] {
|
crl::guard(this, [=, this] {
|
||||||
_navigation->showPeerInfo(participant); }),
|
_navigation->parentController()->show(
|
||||||
|
PrepareShortInfoBox(participant, _navigation));
|
||||||
|
}),
|
||||||
(participant->isUser()
|
(participant->isUser()
|
||||||
? &st::menuIconProfile
|
? &st::menuIconProfile
|
||||||
: &st::menuIconInfo));
|
: &st::menuIconInfo));
|
||||||
|
|
Loading…
Add table
Reference in a new issue