mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 16:36:43 -06:00
Remove unnecessary Renote check code (#3489)
This commit is contained in:
parent
d8698743a1
commit
c1d59716d1
1 changed files with 0 additions and 5 deletions
|
@ -136,11 +136,6 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
|||
return rej('Reply target is private of others');
|
||||
}
|
||||
|
||||
// Renote対象が自分以外の非公開の投稿なら禁止
|
||||
if (data.renote && data.renote.visibility == 'private' && !data.renote.userId.equals(user._id)) {
|
||||
return rej('Renote target is private of others');
|
||||
}
|
||||
|
||||
// ローカルのみをRenoteしたらローカルのみにする
|
||||
if (data.renote && data.renote.localOnly) {
|
||||
data.localOnly = true;
|
||||
|
|
Loading…
Reference in a new issue