mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-28 14:58:36 +09:00
ダイレクトを非公開のように使えるようにする (#3869)
This commit is contained in:
parent
2b13969b26
commit
273bc6507a
@ -183,11 +183,6 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
||||
data.visibleUsers.push(u);
|
||||
}
|
||||
}
|
||||
|
||||
// ダイレクト投稿でユーザーが指定されていなかったらreject
|
||||
if (data.visibleUsers.length === 0) {
|
||||
return rej('Target user is not specified');
|
||||
}
|
||||
}
|
||||
|
||||
const note = await insertNote(user, data, tags, emojis, mentionedUsers);
|
||||
|
Loading…
Reference in New Issue
Block a user