mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
renderAccount: add pleroma.is_local parameter
This commit is contained in:
parent
d408b2000d
commit
49c9b0eff9
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ async function renderAccount(
|
||||||
pleroma: {
|
pleroma: {
|
||||||
is_admin: role === 'admin',
|
is_admin: role === 'admin',
|
||||||
is_moderator: ['admin', 'moderator'].includes(role),
|
is_moderator: ['admin', 'moderator'].includes(role),
|
||||||
|
is_local: parsed05?.domain === Conf.url.host,
|
||||||
},
|
},
|
||||||
nostr: {
|
nostr: {
|
||||||
pubkey,
|
pubkey,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue