Implement stupid account manager
After logging in, you need to restart chatterino
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "application.hpp"
|
||||
#include "accountmanager.hpp"
|
||||
#include "colorscheme.hpp"
|
||||
#include "logging/loggingmanager.hpp"
|
||||
#include "settingsmanager.hpp"
|
||||
@@ -25,6 +26,10 @@ Application::Application()
|
||||
// Initialize everything we need
|
||||
this->emoteManager.loadGlobalEmotes();
|
||||
|
||||
AccountManager::getInstance().load();
|
||||
|
||||
this->ircManager.setUser(AccountManager::getInstance().getTwitchUser());
|
||||
|
||||
// XXX
|
||||
SettingsManager::getInstance().updateWordTypeMask();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user