Fix hashtags contained in private notes are shown in trends (#5805)
* Update trend.ts * Fix query * Update create.ts * Update create.ts * Update trend.ts
This commit is contained in:

committed by
GitHub

parent
721531c5b5
commit
c30960d6bf
@@ -203,7 +203,9 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
|
||||
}
|
||||
|
||||
// ハッシュタグ更新
|
||||
updateHashtags(user, tags);
|
||||
if (data.visibility === 'public' || data.visibility === 'home') {
|
||||
updateHashtags(user, tags);
|
||||
}
|
||||
|
||||
// Increment notes count (user)
|
||||
incNotesCountOfUser(user);
|
||||
|
Reference in New Issue
Block a user