diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-18 01:11:14 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-18 01:11:14 +0900 |
| commit | e8db63e788b62f6748bd1d09730d0f55a36bbc9a (patch) | |
| tree | ae09f66ddf370c71bc7c2853b449a3f1667e87b6 /src/server/api | |
| parent | 10.87.0 (diff) | |
| download | sharkey-e8db63e788b62f6748bd1d09730d0f55a36bbc9a.tar.gz sharkey-e8db63e788b62f6748bd1d09730d0f55a36bbc9a.tar.bz2 sharkey-e8db63e788b62f6748bd1d09730d0f55a36bbc9a.zip | |
Fix bug
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/endpoints/i/update.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/i/update.ts b/src/server/api/endpoints/i/update.ts index b3ec53223f..1de7a807c0 100644 --- a/src/server/api/endpoints/i/update.ts +++ b/src/server/api/endpoints/i/update.ts @@ -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; |