mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove Auth() global access point.
This commit is contained in:
@@ -83,10 +83,12 @@ void Controller::setupIntro() {
|
||||
}
|
||||
|
||||
void Controller::setupMain() {
|
||||
Expects(_account->sessionExists());
|
||||
|
||||
_widget.setupMain();
|
||||
|
||||
if (const auto id = Ui::Emoji::NeedToSwitchBackToId()) {
|
||||
Ui::Emoji::LoadAndSwitchTo(id);
|
||||
Ui::Emoji::LoadAndSwitchTo(&_account->session(), id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user