Implement stupid account manager

After logging in, you need to restart chatterino
This commit is contained in:
Rasmus Karlsson
2017-07-28 19:46:53 +02:00
parent 1296aac245
commit 467ca90fd8
8 changed files with 176 additions and 7 deletions
+5
View File
@@ -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();