mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Merge branch 'domain' into 'main'
Add `domain` to Account entity See merge request soapbox-pub/ditto!460
This commit is contained in:
commit
79ac4ada81
2 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ export interface MastodonAccount {
|
|||
accepts_zaps: boolean;
|
||||
external_url: string;
|
||||
};
|
||||
domain?: string;
|
||||
pleroma: {
|
||||
deactivated: boolean;
|
||||
favicon?: string;
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue