added loading and saving of irc servers

This commit is contained in:
fourtf
2019-09-10 23:55:43 +02:00
parent 0219cb0c36
commit c4d0efacff
10 changed files with 292 additions and 80 deletions
+3
View File
@@ -13,6 +13,7 @@
#include "providers/bttv/BttvEmotes.hpp"
#include "providers/chatterino/ChatterinoBadges.hpp"
#include "providers/ffz/FfzEmotes.hpp"
#include "providers/irc/Irc2.hpp"
#include "providers/twitch/PubsubClient.hpp"
#include "providers/twitch/TwitchServer.hpp"
#include "singletons/Emotes.hpp"
@@ -69,6 +70,8 @@ Application::Application(Settings &_settings, Paths &_paths)
this->fonts->fontChanged.connect(
[this]() { this->windows->layoutChannelViews(); });
Irc::getInstance().load();
this->twitch.server = this->twitch2;
this->twitch.pubsub = this->twitch2->pubsub;
}