diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip02FollowLists/FollowListState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip02FollowLists/FollowListState.kt index a36abd280..a5429d656 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip02FollowLists/FollowListState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/nip02FollowLists/FollowListState.kt @@ -79,7 +79,7 @@ class FollowListState( val userList = flow .map { - it.authors.map { + it.authors.mapNotNull { cache.checkGetOrCreateUser(it) } }.flowOn(Dispatchers.Default) @@ -87,7 +87,7 @@ class FollowListState( scope, SharingStarted.Eagerly, // this has priority. - flow.value.authors.map { + flow.value.authors.mapNotNull { cache.checkGetOrCreateUser(it) }, )