Remove sending part of the multipart emoji workaround (#4361)

This commit is contained in:
Mm2PL
2023-02-09 16:45:53 +01:00
committed by GitHub
parent 829c48d79a
commit d38187f794
6 changed files with 12 additions and 15 deletions
-4
View File
@@ -370,10 +370,6 @@ QString TwitchChannel::prepareMessage(const QString &message) const
auto app = getApp();
QString parsedMessage = app->emotes->emojis.replaceShortCodes(message);
// This is to make sure that combined emoji go through properly, see
// https://github.com/Chatterino/chatterino2/issues/3384 and
// https://mm2pl.github.io/emoji_rfc.pdf for more details
parsedMessage.replace(ZERO_WIDTH_JOINER, ESCAPE_TAG);
parsedMessage = parsedMessage.simplified();
if (parsedMessage.isEmpty())