mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Reuse p2p call window for migrated confcall.
This commit is contained in:
@@ -1359,22 +1359,22 @@ base::unique_qptr<Ui::PopupMenu> Members::Controller::createRowContextMenu(
|
||||
window->invokeForSessionController(
|
||||
account,
|
||||
participantPeer,
|
||||
[&](not_null<Window::SessionController*> newController) {
|
||||
[&](not_null<::Window::SessionController*> newController) {
|
||||
callback(newController);
|
||||
newController->widget()->activate();
|
||||
});
|
||||
}
|
||||
};
|
||||
const auto showProfile = [=] {
|
||||
withActiveWindow([=](not_null<Window::SessionController*> window) {
|
||||
withActiveWindow([=](not_null<::Window::SessionController*> window) {
|
||||
window->showPeerInfo(participantPeer);
|
||||
});
|
||||
};
|
||||
const auto showHistory = [=] {
|
||||
withActiveWindow([=](not_null<Window::SessionController*> window) {
|
||||
withActiveWindow([=](not_null<::Window::SessionController*> window) {
|
||||
window->showPeerHistory(
|
||||
participantPeer,
|
||||
Window::SectionShow::Way::Forward);
|
||||
::Window::SectionShow::Way::Forward);
|
||||
});
|
||||
};
|
||||
const auto removeFromVoiceChat = crl::guard(this, [=] {
|
||||
|
||||
Reference in New Issue
Block a user