parseSimple in backend

This commit is contained in:
Puniko 2023-05-21 19:16:44 +02:00 committed by Johann150
parent f6ff21ee53
commit 404bb3b6b6
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -178,7 +178,7 @@ export default define(meta, paramDef, async (ps, _user, token) => {
const newDescription = profileUpdates.description === undefined ? profile.description : profileUpdates.description;
if (newName != null) {
const tokens = mfm.parsePlain(newName);
const tokens = mfm.parseSimple(newName);
emojis = emojis.concat(extractCustomEmojisFromMfm(tokens!));
}