mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
No need for this, the followList.match already does it
This commit is contained in:
@@ -62,7 +62,6 @@ class FilterByListParams(
|
||||
if (followLists == null) return false
|
||||
|
||||
return when (followLists) {
|
||||
is GlobalTopNavFilter -> true
|
||||
is RelayTopNavFilter -> comingFrom.contains(followLists.relayUrl)
|
||||
else -> followLists.match(noteEvent)
|
||||
}
|
||||
@@ -75,7 +74,6 @@ class FilterByListParams(
|
||||
if (followLists == null) return false
|
||||
|
||||
return when (followLists) {
|
||||
is GlobalTopNavFilter -> true
|
||||
is RelayTopNavFilter -> comingFrom.contains(followLists.relayUrl)
|
||||
else -> followLists.matchAuthor(address.pubKeyHex)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user