chore: replace icons, change errors

This commit is contained in:
Mar0xy 2023-11-23 19:22:34 +01:00
parent 42bf8e5e76
commit 04dbf7ebe9
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
4 changed files with 4 additions and 4 deletions

View file

@ -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