mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
fix: フォロワー投稿をダイレクトで引用したときにダイレクトにする (#15961)
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
This commit is contained in:
parent
863046ba8c
commit
f17c93ec3b
1 changed files with 4 additions and 2 deletions
|
|
@ -510,8 +510,10 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
throw new Error('Renote target is not public or home');
|
||||
}
|
||||
|
||||
// Renote対象がfollowersならfollowersにする
|
||||
data.visibility = 'followers';
|
||||
// followers noteはfollowers以下にrenote可能
|
||||
if (data.visibility === 'public' || data.visibility === 'home') {
|
||||
data.visibility = 'followers';
|
||||
}
|
||||
break;
|
||||
case 'specified':
|
||||
// specified / direct noteはreject
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue