Fix compilation issue

This commit is contained in:
Rasmus Karlsson 2019-05-25 11:23:58 +02:00
parent 9dbe66a19b
commit 79e4e05a4a

View file

@ -987,7 +987,7 @@ Outcome TwitchMessageBuilder::tryAppendEmote(const EmoteName &name)
auto flags = MessageElementFlags();
auto emote = boost::optional<EmotePtr>{};
if ((emote = this->twitchChannel->ffzEmote().emote(name)))
if ((emote = this->twitchChannel->ffzEmote(name)))
{
flags = MessageElementFlag::FfzEmote;
}
@ -999,7 +999,7 @@ Outcome TwitchMessageBuilder::tryAppendEmote(const EmoteName &name)
{
flags = MessageElementFlag::FfzEmote;
}
else if ((emote = this->twitchChannel->globalBttv(name)))
else if ((emote = this->twitchChannel->globalBttv().emote(name)))
{
flags = MessageElementFlag::BttvEmote;
}