1
0

chore: replace icons, change errors

This commit is contained in:
Mar0xy
2023-11-23 19:22:34 +01:00
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