1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 05:26:03 +02:00

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

This commit is contained in:
Kisaragi
2025-05-05 23:35:02 +09:00
parent 0133dbfe7e
commit 67f2170e38

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