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:
parent
721531c5b5
commit
c30960d6bf
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue