fix: global emotes not loading (#5435)
* fix: manually initialize twitchircserver after rest of singletons are initialized this fixes global emotes not being loaded on startup, since initialize was never called (since it was no longer added to the singleton list) * unrelated nit: remove copy/move ctors/operators of twitchircserver
This commit is contained in:
@@ -165,7 +165,7 @@ TwitchIrcServer::TwitchIrcServer()
|
||||
// false);
|
||||
}
|
||||
|
||||
void TwitchIrcServer::initialize(Settings &settings, const Paths &paths)
|
||||
void TwitchIrcServer::initialize()
|
||||
{
|
||||
getIApp()->getAccounts()->twitch.currentUserChanged.connect([this]() {
|
||||
postToThread([this] {
|
||||
|
||||
Reference in New Issue
Block a user