This commit is contained in:
饺子w (Yumechi) 2026-06-24 20:45:53 +00:00 committed by GitHub
commit 86b2f4bb7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -497,13 +497,8 @@ export class NoteCreateService implements OnApplicationShutdown {
if (data.renote) {
switch (data.renote.visibility) {
case 'public':
// public noteは無条件にrenote可能
break;
case 'home':
// home noteはhome以下にrenote可能
if (data.visibility === 'public') {
data.visibility = 'home';
}
// notes with public audience can have any visibility
break;
case 'followers':
// 他人のfollowers noteはreject