aaa
This commit is contained in:
parent
f51a4b51b3
commit
7d61f8a3d9
|
@ -308,7 +308,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
body: JSON.stringify(data_disc),
|
body: JSON.stringify(data_disc),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
throw new NoteCreateService.ContainsProhibitedWordsError();
|
throw new IdentifiableError('689ee33f-f97c-479a-ac49-1b9f8140af99', 'Note contains prohibited words');
|
||||||
}
|
}
|
||||||
|
|
||||||
const inSilencedInstance = this.utilityService.isSilencedHost(meta.silencedHosts, user.host);
|
const inSilencedInstance = this.utilityService.isSilencedHost(meta.silencedHosts, user.host);
|
||||||
|
|
Loading…
Reference in a new issue