Fixed emote pasting bug with multiple spaces (#2490)

This commit is contained in:
Paweł
2021-03-04 01:13:36 +01:00
committed by GitHub
parent 30f3035dc2
commit b2aa370015
2 changed files with 7 additions and 1 deletions
@@ -366,6 +366,12 @@ void TwitchMessageBuilder::addWords(
for (auto word : words)
{
if (word.isEmpty())
{
cursor++;
continue;
}
while (doesWordContainATwitchEmote(cursor, word, twitchEmotes,
currentTwitchEmoteIt))
{