1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-24 09:49:26 -05:00

削除された投稿にリアクションできないように

Closes 
This commit is contained in:
syuilo 2018-09-10 01:55:14 +09:00
parent e07210524f
commit 1344ffa67d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -43,6 +43,10 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
return rej('note not found');
}
if (note.deletedAt != null) {
return rej('this not is already deleted');
}
try {
await create(user, note, ps.reaction);
} catch (e) {