fixed emotes after emojis not showing

This commit is contained in:
fourtf 2017-08-17 22:46:16 +02:00
parent 5b6596066e
commit cac2786c58

View file

@ -231,7 +231,15 @@ SharedMessage TwitchMessageBuilder::parse()
}
}
i += split.length() + 1;
for (int j = 0; j < split.size(); j++) {
i++;
if (split.at(j).isHighSurrogate()) {
j++;
}
}
i++;
}
// TODO: Implement this xD