Merge branch 'is-local' into 'main'
renderAccount: add pleroma.is_local parameter See merge request soapbox-pub/ditto!139
This commit is contained in:
commit
bff7667298
|
@ -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