mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Removed useless arg from appendTwitchEmote().
This commit is contained in:
parent
f813c2de3b
commit
30f51d8137
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue