mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-29 09:32:36 +02:00
Filtering duplicates from Follows list
This commit is contained in:
@@ -16,7 +16,7 @@ object UserProfileFollowsFeedFilter : FeedFilter<User>() {
|
||||
override fun feed(): List<User> {
|
||||
return user?.latestContactList?.unverifiedFollowKeySet()?.map {
|
||||
LocalCache.getOrCreateUser(it)
|
||||
}
|
||||
}?.toSet()
|
||||
?.filter { account.isAcceptable(it) }
|
||||
?.reversed() ?: emptyList()
|
||||
}
|
||||
|
Reference in New Issue
Block a user