renderAccount: add pleroma.is_local parameter
This commit is contained in:
parent
d408b2000d
commit
49c9b0eff9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue