Removed useless arg from appendTwitchEmote().

This commit is contained in:
23rd 2018-09-19 14:34:20 +03:00 committed by pajlada
parent f813c2de3b
commit 30f51d8137
2 changed files with 3 additions and 4 deletions

View file

@ -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<std::pair<int, EmotePtr>> &vec)
{
auto app = getApp();

View file

@ -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<std::pair<int, EmotePtr>> &vec);
Outcome tryAppendEmote(const EmoteName &name);