Merge branch 'domain' into 'main'

Add `domain` to Account entity

See merge request soapbox-pub/ditto!460
This commit is contained in:
Alex Gleason 2024-08-16 18:18:25 +00:00
commit 79ac4ada81
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@ export interface MastodonAccount {
accepts_zaps: boolean;
external_url: string;
};
domain?: string;
pleroma: {
deactivated: boolean;
favicon?: string;

View file

@ -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'),