From 0ed87ddef20ada6da6ad1a181ad258c81c589a8a Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 21:11:15 +0200 Subject: [PATCH] fix: i forgor to add this file --- packages/megalodon/src/misskey/api_client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index acfad963db..2388e19801 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -264,7 +264,7 @@ namespace MisskeyAPI { id: n.id, uri: n.uri ? n.uri : host ? `https://${host}/notes/${n.id}` : '', url: n.url ? n.url : host ? `https://${host}/notes/${n.id}` : '', - account: user(n.user, n.user.host ? n.user.host : host ? host : null), + account: userDetail(n.user, n.user.host ? n.user.host : host ? host : null), in_reply_to_id: n.replyId, in_reply_to_account_id: n.reply?.userId ?? null, reblog: n.renote ? note(n.renote, n.user.host ? n.user.host : host ? host : null) : null,