Add ditto.is_registered property to Account

This commit is contained in:
Alex Gleason 2024-02-18 10:41:18 -06:00
parent 7a38cfbc40
commit fe6dd01b68
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

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