mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Make custom 'Join As' menu item.
This commit is contained in:
@@ -655,6 +655,10 @@ void GroupPanel::showMainMenu() {
|
||||
_call,
|
||||
[=] { chooseJoinAs(); },
|
||||
[=](auto box) { _layerBg->showBox(std::move(box)); });
|
||||
if (_menu->empty()) {
|
||||
_menu.destroy();
|
||||
return;
|
||||
}
|
||||
|
||||
const auto raw = _menu.data();
|
||||
raw->setHiddenCallback([=] {
|
||||
|
Reference in New Issue
Block a user