1
0

add: Bot Trending Toggle, Hide Bot in Timeline client option

This commit is contained in:
Mar0xy
2023-10-18 07:29:16 +02:00
parent fa5cf36602
commit c21d255604
19 changed files with 90 additions and 1 deletions
@@ -511,7 +511,11 @@ export class NoteCreateService implements OnApplicationShutdown {
// ハッシュタグ更新
if (data.visibility === 'public' || data.visibility === 'home') {
this.hashtagService.updateHashtags(user, tags);
if (user.isBot && meta.enableBotTrending) {
this.hashtagService.updateHashtags(user, tags);
} else if (!user.isBot) {
this.hashtagService.updateHashtags(user, tags);
}
}
// Increment notes count (user)