mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Add some more actions to info profile.
This commit is contained in:
@@ -1242,8 +1242,9 @@ void DialogsInner::contextMenuEvent(QContextMenuEvent *e) {
|
||||
|
||||
_menu = new Ui::PopupMenu(nullptr);
|
||||
Window::PeerMenuOptions options;
|
||||
options.pinToggle = options.showInfo = options.search = true;
|
||||
options.fromChatsList = options.showInfo = true;
|
||||
Window::FillPeerMenu(
|
||||
_controller,
|
||||
_menuPeer,
|
||||
[this](const QString &text, base::lambda<void()> callback) {
|
||||
return _menu->addAction(text, std::move(callback));
|
||||
|
Reference in New Issue
Block a user