Fix global emotes from not loading
We didn't called initialize properly on the EmoteManager Fix #374
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ void Application::initialize()
|
|||||||
|
|
||||||
this->highlights->initialize();
|
this->highlights->initialize();
|
||||||
|
|
||||||
this->emotes->loadGlobalEmotes();
|
this->emotes->initialize();
|
||||||
|
|
||||||
this->accounts->load();
|
this->accounts->load();
|
||||||
|
|
||||||
|
|||||||
@@ -91,10 +91,7 @@ void EmoteManager::initialize()
|
|||||||
assert(currentUser);
|
assert(currentUser);
|
||||||
this->refreshTwitchEmotes(currentUser);
|
this->refreshTwitchEmotes(currentUser);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
void EmoteManager::loadGlobalEmotes()
|
|
||||||
{
|
|
||||||
this->loadEmojis();
|
this->loadEmojis();
|
||||||
this->loadBTTVEmotes();
|
this->loadBTTVEmotes();
|
||||||
this->loadFFZEmotes();
|
this->loadFFZEmotes();
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ public:
|
|||||||
|
|
||||||
void initialize();
|
void initialize();
|
||||||
|
|
||||||
void loadGlobalEmotes();
|
|
||||||
|
|
||||||
void reloadBTTVChannelEmotes(const QString &channelName,
|
void reloadBTTVChannelEmotes(const QString &channelName,
|
||||||
std::weak_ptr<util::EmoteMap> channelEmoteMap);
|
std::weak_ptr<util::EmoteMap> channelEmoteMap);
|
||||||
void reloadFFZChannelEmotes(const QString &channelName,
|
void reloadFFZChannelEmotes(const QString &channelName,
|
||||||
|
|||||||
Reference in New Issue
Block a user