mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-26 17:54:28 +01:00
renderAccount: fix display of roles
This commit is contained in:
@@ -34,7 +34,7 @@ async function renderAccount(
|
||||
|
||||
const npub = nip19.npubEncode(pubkey);
|
||||
const parsed05 = await parseAndVerifyNip05(nip05, pubkey);
|
||||
const roles = getTagSet(event.tags, 'n');
|
||||
const roles = getTagSet(event.user?.tags ?? [], 'n');
|
||||
|
||||
return {
|
||||
id: pubkey,
|
||||
|
||||
Reference in New Issue
Block a user