feat(backend): カスタム絵文字ごとに連合するかどうか設定できるように

This commit is contained in:
syuilo 2023-05-18 18:48:35 +09:00
parent 7ce569424a
commit db1098a180
3 changed files with 5 additions and 4 deletions

View file

@ -585,7 +585,7 @@ export class ActivityPubServerService {
name: request.params.emoji,
});
if (emoji == null) {
if (emoji == null || emoji.localOnly) {
reply.code(404);
return;
}