Fixing format

This commit is contained in:
Vitor Pamplona
2023-04-19 13:00:52 -04:00
parent 0aee4407db
commit 6a9a321e2b

View File

@@ -23,14 +23,14 @@ object NotificationFeedFilter : AdditiveFeedFilter<Note>() {
return collection.filter { return collection.filter {
it.event !is ChannelCreateEvent && it.event !is ChannelCreateEvent &&
it.event !is ChannelMetadataEvent && it.event !is ChannelMetadataEvent &&
it.event !is LnZapRequestEvent && it.event !is LnZapRequestEvent &&
it.event !is BadgeDefinitionEvent && it.event !is BadgeDefinitionEvent &&
it.event !is BadgeProfilesEvent && it.event !is BadgeProfilesEvent &&
it.author !== loggedInUser && it.author !== loggedInUser &&
it.event?.isTaggedUser(loggedInUserHex) ?: false && it.event?.isTaggedUser(loggedInUserHex) ?: false &&
(it.author == null || !account.isHidden(it.author!!.pubkeyHex)) && (it.author == null || !account.isHidden(it.author!!.pubkeyHex)) &&
tagsAnEventByUser(it, loggedInUser) tagsAnEventByUser(it, loggedInUser)
} }
} }