mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 17:16:46 +00:00
Keep separate MTP::Config's for separate accounts.
This commit is contained in:
@@ -1025,7 +1025,7 @@ void MainWindow::updateGlobalMenuHook() {
|
||||
canCopy = list->canCopySelected();
|
||||
canDelete = list->canDeleteSelected();
|
||||
}
|
||||
App::wnd()->updateIsActive(0);
|
||||
App::wnd()->updateIsActive();
|
||||
const auto logged = account().sessionExists();
|
||||
const auto locked = Core::App().locked();
|
||||
const auto inactive = !logged || locked;
|
||||
|
||||
Reference in New Issue
Block a user