diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index 13f02ae5d..97e6de9f9 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -156,7 +156,7 @@ MessagePtr TwitchMessageBuilder::build() QStringList emoteString = iterator.value().toString().split('/'); for (QString emote : emoteString) { - this->appendTwitchEmote(ircMessage, emote, twitchEmotes); + this->appendTwitchEmote(emote, twitchEmotes); } std::sort( @@ -610,7 +610,7 @@ void TwitchMessageBuilder::parseHighlights(bool isPastMsg) } void TwitchMessageBuilder::appendTwitchEmote( - const Communi::IrcMessage *ircMessage, const QString &emote, + const QString &emote, std::vector> &vec) { auto app = getApp(); diff --git a/src/providers/twitch/TwitchMessageBuilder.hpp b/src/providers/twitch/TwitchMessageBuilder.hpp index 30b476f97..f67dc3091 100644 --- a/src/providers/twitch/TwitchMessageBuilder.hpp +++ b/src/providers/twitch/TwitchMessageBuilder.hpp @@ -55,8 +55,7 @@ private: void appendUsername(); void parseHighlights(bool isPastMsg); - void appendTwitchEmote(const Communi::IrcMessage *ircMessage, - const QString &emote, + void appendTwitchEmote(const QString &emote, std::vector> &vec); Outcome tryAppendEmote(const EmoteName &name);