From fe6dd01b68b1b8286d5cdad28846af845b0cdc70 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 18 Feb 2024 10:41:18 -0600 Subject: [PATCH] Add ditto.is_registered property to Account --- src/views/mastodon/accounts.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index b06d9242..0077b553 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -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,