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: {
|
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…
Reference in New Issue