2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Remove some MainWindow::sessionController() calls.

This commit is contained in:
John Preston
2020-06-23 21:21:58 +04:00
parent 4d65df6ca2
commit 30c82bb2e0
35 changed files with 275 additions and 182 deletions

View File

@@ -689,7 +689,8 @@ rpl::producer<QString> CallsPeer2PeerPrivacyController::exceptionsDescription()
ForwardsPrivacyController::ForwardsPrivacyController(
not_null<Window::SessionController*> controller)
: _controller(controller) {
: SimpleElementDelegate(controller)
, _controller(controller) {
}
ApiWrap::Privacy::Key ForwardsPrivacyController::key() {