From 4dc4ac2f0c7bcc4f6c2dfed65c69b28ce6ca23fd Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 27 Sep 2019 05:18:09 +0900 Subject: Decrease tag limit --- src/server/api/endpoints/i/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/api') diff --git a/src/server/api/endpoints/i/update.ts b/src/server/api/endpoints/i/update.ts index 99f7efbe1c..f7f03e84a3 100644 --- a/src/server/api/endpoints/i/update.ts +++ b/src/server/api/endpoints/i/update.ts @@ -257,7 +257,7 @@ export default define(meta, async (ps, user, app) => { if (newDescription != null) { const tokens = parse(newDescription); emojis = emojis.concat(extractEmojis(tokens!)); - tags = extractHashtags(tokens!).map(tag => tag.toLowerCase()).splice(0, 100); + tags = extractHashtags(tokens!).map(tag => tag.toLowerCase()).splice(0, 32); } updates.emojis = emojis; -- cgit v1.2.3-freya