mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-06 23:24:22 +01:00
renderAccount: add pleroma.is_local parameter
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user