kopia lustrzana https://github.com/vitorpamplona/amethyst
Uses the inHidden in Hex
rodzic
cc44b4dd55
commit
9ee3da3910
|
@ -21,7 +21,7 @@ object HomeNewThreadFeedFilter : FeedFilter<Note>() {
|
|||
(it.event is TextNoteEvent || it.event is RepostEvent || it.event is PollNoteEvent) &&
|
||||
(it.author?.pubkeyHex in followingKeySet || (it.event?.isTaggedHashes(followingTagSet) ?: false)) &&
|
||||
// && account.isAcceptable(it) // This filter follows only. No need to check if acceptable
|
||||
it.author?.let { !account.isHidden(it) } ?: true &&
|
||||
it.author?.let { !account.isHidden(it.pubkeyHex) } ?: true &&
|
||||
it.isNewThread()
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ object HomeNewThreadFeedFilter : FeedFilter<Note>() {
|
|||
(it.event is LongTextNoteEvent) &&
|
||||
(it.author?.pubkeyHex in followingKeySet || (it.event?.isTaggedHashes(followingTagSet) ?: false)) &&
|
||||
// && account.isAcceptable(it) // This filter follows only. No need to check if acceptable
|
||||
it.author?.let { !account.isHidden(it) } ?: true &&
|
||||
it.author?.let { !account.isHidden(it.pubkeyHex) } ?: true &&
|
||||
it.isNewThread()
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue