mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 07:35:57 +09:00
Add comment
This commit is contained in:
parent
34393ef89f
commit
b2dedf7f98
@ -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…
Reference in New Issue
Block a user