- Filter follows in the list of participants

- Uses KIND3 follows for the notification dot in the bottom nav bar
This commit is contained in:
Vitor Pamplona
2023-08-20 17:08:24 -04:00
parent a79d1d5bd6
commit 35d09aee77
3 changed files with 33 additions and 9 deletions
@@ -40,6 +40,10 @@ class LiveActivitiesEvent(
}
}
fun participantsIntersect(keySet: Set<String>): Boolean {
return tags.any { it.size > 1 && it[0] == "p" && it[1] in keySet }
}
companion object {
const val kind = 30311