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. 8
      src/lib/navigator/EventNetwork/utils/personNetworkBuilder.ts

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

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

Loading…
Cancel
Save