forked from FoundKeyGang/FoundKey
parseSimple in backend
This commit is contained in:
parent
5f9ab12596
commit
5788c675c7
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export default define(meta, paramDef, async (ps, _user, token) => {
|
||||||
const newDescription = profileUpdates.description === undefined ? profile.description : profileUpdates.description;
|
const newDescription = profileUpdates.description === undefined ? profile.description : profileUpdates.description;
|
||||||
|
|
||||||
if (newName != null) {
|
if (newName != null) {
|
||||||
const tokens = mfm.parsePlain(newName);
|
const tokens = mfm.parseSimple(newName);
|
||||||
emojis = emojis.concat(extractCustomEmojisFromMfm(tokens!));
|
emojis = emojis.concat(extractCustomEmojisFromMfm(tokens!));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue