skip announces if we don't want to show them

This commit is contained in:
liamcottle
2024-09-17 17:13:01 +12:00
parent f2a44a1cc6
commit 75bbf24182

View File

@@ -301,6 +301,12 @@ export default {
continue;
}
// skip announces if we don't want to show them
const aspectsToShow = ["lxmf.delivery", "nomadnetwork.node"];
if(!aspectsToShow.includes(announce.aspect)){
continue;
}
const node = {
id: entry.hash,
group: "announce",