mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-05 09:54:54 +02:00
Checks for hex keys in the tag list before showing follows
This commit is contained in:
@@ -14,8 +14,8 @@ object UserProfileFollowsFeedFilter : FeedFilter<User>() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun feed(): List<User> {
|
override fun feed(): List<User> {
|
||||||
return user?.latestContactList?.unverifiedFollowKeySet()?.map {
|
return user?.latestContactList?.unverifiedFollowKeySet()?.mapNotNull {
|
||||||
LocalCache.getOrCreateUser(it)
|
LocalCache.checkGetOrCreateUser(it)
|
||||||
}?.toSet()
|
}?.toSet()
|
||||||
?.filter { account.isAcceptable(it) }
|
?.filter { account.isAcceptable(it) }
|
||||||
?.reversed() ?: emptyList()
|
?.reversed() ?: emptyList()
|
||||||
|
Reference in New Issue
Block a user