diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip51Lists/peopleList/PeopleListsState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip51Lists/peopleList/PeopleListsState.kt index dc178a8e5..3787caac9 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip51Lists/peopleList/PeopleListsState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip51Lists/peopleList/PeopleListsState.kt @@ -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)