diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index c8be7b6b5..9cbf3db6c 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -82,7 +82,7 @@ namespace MisskeyAPI { id: u.id, username: u.username, acct: acct, - display_name: u.name, + display_name: u.name ? u.name : '', locked: false, group: null, noindex: null, @@ -117,7 +117,7 @@ namespace MisskeyAPI { id: u.id, username: u.username, acct: acct, - display_name: u.name, + display_name: u.name ? u.name : '', locked: u.isLocked, group: null, noindex: null,