From 30f51d8137de2952917dc55c50bf45b6f41cf9db Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 19 Sep 2018 14:34:20 +0300 Subject: [PATCH] Removed useless arg from appendTwitchEmote(). --- src/providers/twitch/TwitchMessageBuilder.cpp | 4 ++-- src/providers/twitch/TwitchMessageBuilder.hpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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);