mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
renderAccount: fix display of roles
This commit is contained in:
parent
e5fadafc7a
commit
284ae9aab7
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ async function renderAccount(
|
||||||
|
|
||||||
const npub = nip19.npubEncode(pubkey);
|
const npub = nip19.npubEncode(pubkey);
|
||||||
const parsed05 = await parseAndVerifyNip05(nip05, pubkey);
|
const parsed05 = await parseAndVerifyNip05(nip05, pubkey);
|
||||||
const roles = getTagSet(event.tags, 'n');
|
const roles = getTagSet(event.user?.tags ?? [], 'n');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: pubkey,
|
id: pubkey,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue