diff --git a/src/entities/MastodonAccount.ts b/src/entities/MastodonAccount.ts index 3a6c5be5..d0514185 100644 --- a/src/entities/MastodonAccount.ts +++ b/src/entities/MastodonAccount.ts @@ -43,6 +43,7 @@ export interface MastodonAccount { accepts_zaps: boolean; external_url: string; }; + domain?: string; pleroma: { deactivated: boolean; favicon?: string; diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index dca58302..2a7c6b25 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -86,6 +86,7 @@ async function renderAccount( accepts_zaps: Boolean(getLnurl({ lud06, lud16 })), external_url: Conf.external(npub), }, + domain: parsed05?.domain, pleroma: { deactivated: names.has('disabled'), is_admin: names.has('admin'),