From 79e4e05a4a098efdb953578a73be299d2f83e804 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 25 May 2019 11:23:58 +0200 Subject: [PATCH] Fix compilation issue --- src/providers/twitch/TwitchMessageBuilder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index b8cb7c860..31ca6adf5 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -987,7 +987,7 @@ Outcome TwitchMessageBuilder::tryAppendEmote(const EmoteName &name) auto flags = MessageElementFlags(); auto emote = boost::optional{}; - 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; }