mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
ダイレクトを非公開のように使えるようにする (#3869)
This commit is contained in:
parent
b1a7a7b08d
commit
f150785b49
1 changed files with 0 additions and 5 deletions
|
@ -183,11 +183,6 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
|
||||||
data.visibleUsers.push(u);
|
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);
|
const note = await insertNote(user, data, tags, emojis, mentionedUsers);
|
||||||
|
|
Loading…
Reference in a new issue