This commit is contained in:
syuilo 2019-02-18 01:11:14 +09:00
parent 0bcef2453c
commit e8db63e788
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 9 additions and 5 deletions

View file

@ -217,7 +217,7 @@ export default define(meta, (ps, user, app) => new Promise(async (res, rej) => {
if (updates.description != null) {
const tokens = parse(updates.description);
emojis = emojis.concat(extractEmojis(tokens));
tags = extractHashtags(tokens);
tags = extractHashtags(tokens).map(tag => tag.toLowerCase());
}
updates.emojis = emojis;