This commit is contained in:
Kisaragi 2025-09-15 19:00:43 +09:00 committed by GitHub
commit 0a20419f87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -294,8 +294,10 @@ export class NoteCreateService implements OnApplicationShutdown {
throw new Error('Renote target is not public or home');
}
// Renote対象がfollowersならfollowersにする
data.visibility = 'followers';
// Renote対象がpublic/homeならfollowersにする
if (data.visibility === 'public' || data.visibility === 'home') {
data.visibility = 'followers';
}
break;
case 'specified':
// specified / direct noteはreject