renderAccount: add pleroma.is_local parameter

This commit is contained in:
Alex Gleason 2024-04-06 21:12:48 -05:00
parent d408b2000d
commit 49c9b0eff9
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ async function renderAccount(
pleroma: {
is_admin: role === 'admin',
is_moderator: ['admin', 'moderator'].includes(role),
is_local: parsed05?.domain === Conf.url.host,
},
nostr: {
pubkey,