Add ditto.is_registered property to Account
This commit is contained in:
parent
7a38cfbc40
commit
fe6dd01b68
|
@ -72,6 +72,7 @@ async function renderAccount(
|
||||||
username: parsed05?.nickname || npub.substring(0, 8),
|
username: parsed05?.nickname || npub.substring(0, 8),
|
||||||
ditto: {
|
ditto: {
|
||||||
accepts_zaps: Boolean(getLnurl({ lud06, lud16 })),
|
accepts_zaps: Boolean(getLnurl({ lud06, lud16 })),
|
||||||
|
is_registered: Boolean(user),
|
||||||
},
|
},
|
||||||
pleroma: {
|
pleroma: {
|
||||||
is_admin: user?.admin || false,
|
is_admin: user?.admin || false,
|
||||||
|
|
Loading…
Reference in New Issue