mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
parent
d6c4244b79
commit
5647c6a80c
1 changed files with 6 additions and 0 deletions
|
@ -625,6 +625,12 @@ void TwitchMessageBuilder::appendTwitchEmote(
|
||||||
|
|
||||||
Outcome TwitchMessageBuilder::tryAppendEmote(const EmoteName &name)
|
Outcome TwitchMessageBuilder::tryAppendEmote(const EmoteName &name)
|
||||||
{
|
{
|
||||||
|
// Special channels, like /whispers and /channels return here
|
||||||
|
// This means they will not render any BTTV or FFZ emotes
|
||||||
|
if (this->twitchChannel == nullptr) {
|
||||||
|
return Failure;
|
||||||
|
}
|
||||||
|
|
||||||
auto flags = MessageElementFlags();
|
auto flags = MessageElementFlags();
|
||||||
auto emote = boost::optional<EmotePtr>{};
|
auto emote = boost::optional<EmotePtr>{};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue