diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-08 20:50:38 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-08 20:50:38 +0900 |
| commit | c500e4392aac643ccf05d28effabbf41c1c37e9b (patch) | |
| tree | 38fa75094b41e5a3151e9f824f049350d5078cc6 /packages/backend/src/core | |
| parent | New Crowdin updates (#15776) (diff) | |
| download | sharkey-c500e4392aac643ccf05d28effabbf41c1c37e9b.tar.gz sharkey-c500e4392aac643ccf05d28effabbf41c1c37e9b.tar.bz2 sharkey-c500e4392aac643ccf05d28effabbf41c1c37e9b.zip | |
hideNotesInSensitiveChannel -> excludeNotesInSensitiveChannel
Diffstat (limited to 'packages/backend/src/core')
| -rw-r--r-- | packages/backend/src/core/AntennaService.ts | 2 | ||||
| -rw-r--r-- | packages/backend/src/core/entities/AntennaEntityService.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/core/AntennaService.ts b/packages/backend/src/core/AntennaService.ts index 5ad5bcf72a..828cf4f706 100644 --- a/packages/backend/src/core/AntennaService.ts +++ b/packages/backend/src/core/AntennaService.ts @@ -114,7 +114,7 @@ export class AntennaService implements OnApplicationShutdown { if (note.visibility === 'specified') return false; if (note.visibility === 'followers') return false; - if (antenna.hideNotesInSensitiveChannel && note.channel?.isSensitive) return false; + if (antenna.excludeNotesInSensitiveChannel && note.channel?.isSensitive) return false; if (antenna.excludeBots && noteUser.isBot) return false; diff --git a/packages/backend/src/core/entities/AntennaEntityService.ts b/packages/backend/src/core/entities/AntennaEntityService.ts index e81c1e8db4..1f8c8ae3e8 100644 --- a/packages/backend/src/core/entities/AntennaEntityService.ts +++ b/packages/backend/src/core/entities/AntennaEntityService.ts @@ -41,7 +41,7 @@ export class AntennaEntityService { excludeBots: antenna.excludeBots, withReplies: antenna.withReplies, withFile: antenna.withFile, - hideNotesInSensitiveChannel: antenna.hideNotesInSensitiveChannel, + excludeNotesInSensitiveChannel: antenna.excludeNotesInSensitiveChannel, isActive: antenna.isActive, hasUnreadNote: false, // TODO notify: false, // 後方互換性のため |