chore: replace icons, change errors
This commit is contained in:
parent
42bf8e5e76
commit
04dbf7ebe9
4 changed files with 4 additions and 4 deletions
|
@ -283,7 +283,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
} else if (isPureRenote(reply)) {
|
||||
throw new ApiError(meta.errors.cannotReplyToPureRenote);
|
||||
} else if (!await this.noteEntityService.isVisibleForMe(reply, me.id)) {
|
||||
throw new ApiError(meta.errors.cannotReplyToInvisibleNote);
|
||||
throw new ApiError(meta.errors.noSuchReplyTarget);
|
||||
}
|
||||
|
||||
// Check blocking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue