From d77aa1f26ad531171ce50ea94afad7499d6de439 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 29 Aug 2019 07:34:54 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E3=83=97=E3=83=AD?= =?UTF-8?q?=E3=83=91=E3=83=86=E3=82=A3=E3=82=92=E3=83=AC=E3=82=B9=E3=83=9D?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E3=81=8B=E3=82=89=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/meta.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts index a754a885a..c07a1c07b 100644 --- a/src/server/api/endpoints/meta.ts +++ b/src/server/api/endpoints/meta.ts @@ -139,7 +139,12 @@ export default define(meta, async (ps, me) => { errorImageUrl: instance.errorImageUrl, iconUrl: instance.iconUrl, maxNoteTextLength: instance.maxNoteTextLength, - emojis: emojis, + emojis: emojis.map(e => ({ + id: e.id, + aliases: e.aliases, + name: e.name, + url: e.url, + })), enableEmail: instance.enableEmail, enableTwitterIntegration: instance.enableTwitterIntegration,