fix: フォロワー投稿をダイレクトで引用したときにダイレクトにする

This commit is contained in:
Kisaragi 2025-05-05 23:35:02 +09:00
parent 0133dbfe7e
commit 67f2170e38
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にする
// Renote対象がpublic/homeならfollowersにする
if (data.visibility === 'public' || data.visibility === 'home) {
data.visibility = 'followers';
}
break;
case 'specified':
// specified / direct noteはreject