Browse Source

Apply suggested change from code comment

master
liminal 8 months ago
parent
commit
15b5144461
No known key found for this signature in database
GPG Key ID: 962BEC8725790894
  1. 10
      src/lib/navigator/EventNetwork/utils/personNetworkBuilder.ts

10
src/lib/navigator/EventNetwork/utils/personNetworkBuilder.ts

@ -59,11 +59,13 @@ export function extractUniquePersons( @@ -59,11 +59,13 @@ export function extractUniquePersons(
}
// People in follow lists (p tags)
if (event.tags) {
event.tags.forEach(tag => {
if (tag[0] === "p" && tag[1]) {
event.tags
.filter(tag => {
tag[0] === 'p'
})
.forEach(tag => {
followListPubkeys.add(tag[1]);
}
});
});
}
});
}

Loading…
Cancel
Save