mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Add ditto.is_registered property to Account
This commit is contained in:
parent
7a38cfbc40
commit
fe6dd01b68
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ async function renderAccount(
|
|||
username: parsed05?.nickname || npub.substring(0, 8),
|
||||
ditto: {
|
||||
accepts_zaps: Boolean(getLnurl({ lud06, lud16 })),
|
||||
is_registered: Boolean(user),
|
||||
},
|
||||
pleroma: {
|
||||
is_admin: user?.admin || false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue