Fixed emote pasting bug with multiple spaces (#2490)
This commit is contained in:
@@ -366,6 +366,12 @@ void TwitchMessageBuilder::addWords(
|
||||
|
||||
for (auto word : words)
|
||||
{
|
||||
if (word.isEmpty())
|
||||
{
|
||||
cursor++;
|
||||
continue;
|
||||
}
|
||||
|
||||
while (doesWordContainATwitchEmote(cursor, word, twitchEmotes,
|
||||
currentTwitchEmoteIt))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user