This commit is contained in:
Kisaragi 2026-01-11 20:00:44 +09:00 committed by GitHub
commit 123aeea955
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -462,8 +462,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