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);
|
const combinedTokens = tokens.concat(cwTokens);
|
||||||
|
|
||||||
tags = data.apHashtags || extractHashtags(combinedTokens);
|
tags = data.apHashtags || extractHashtags(combinedTokens);
|
||||||
|
|
||||||
|
// MongoDBのインデックス対象は128文字以上にできない
|
||||||
tags = tags.filter(tag => tag.length <= 100);
|
tags = tags.filter(tag => tag.length <= 100);
|
||||||
|
|
||||||
emojis = data.apEmojis || extractEmojis(combinedTokens);
|
emojis = data.apEmojis || extractEmojis(combinedTokens);
|
||||||
|
Loading…
Reference in New Issue
Block a user