mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Add comment
This commit is contained in:
parent
62558faa9e
commit
3dd5cf4f3b
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||
const combinedTokens = tokens.concat(cwTokens);
|
||||
|
||||
tags = data.apHashtags || extractHashtags(combinedTokens);
|
||||
|
||||
// MongoDBのインデックス対象は128文字以上にできない
|
||||
tags = tags.filter(tag => tag.length <= 100);
|
||||
|
||||
emojis = data.apEmojis || extractEmojis(combinedTokens);
|
||||
|
|
Loading…
Add table
Reference in a new issue