feat: local-only antenna

Resolve #11869
This commit is contained in:
syuilo 2023-10-16 15:06:00 +09:00
parent 6a321ba340
commit 3ebed5aa3e
15 changed files with 47 additions and 3 deletions

View file

@ -98,6 +98,8 @@ export class AntennaService implements OnApplicationShutdown {
if (note.visibility === 'specified') return false;
if (note.visibility === 'followers') return false;
if (antenna.localOnly && noteUser.host != null) return false;
if (!antenna.withReplies && note.replyId != null) return false;
if (antenna.src === 'home') {