removes old null mute lists from top nav bar

This commit is contained in:
Vitor Pamplona
2026-03-10 09:13:05 -04:00
parent c4b4e1b5c8
commit 55477429be
@@ -68,7 +68,10 @@ class PeopleListsState(
) {
val user = cache.getOrCreateUser(signer.pubKey)
fun existingPeopleListNotes() = cache.addressables.filter(PeopleListEvent.KIND, user.pubkeyHex)
fun existingPeopleListNotes() =
cache.addressables
.filter(PeopleListEvent.KIND, user.pubkeyHex)
.filter { it.dTag() != PeopleListEvent.BLOCK_LIST_D_TAG || it.event != null }
val peopleListVersions = MutableStateFlow(0)