simplified call site usage of NostrFilter

This commit is contained in:
Bryan Montz
2023-03-05 00:28:08 -06:00
committed by William Casarin
parent 6804fbb607
commit fe4277e817
17 changed files with 62 additions and 84 deletions

View File

@@ -34,7 +34,7 @@ class SearchModel: ObservableObject {
func subscribe() {
// since 1 month
search.limit = self.limit
search.kinds = [NostrKind.text.rawValue, NostrKind.like.rawValue]
search.kinds = [.text, .like]
//likes_filter.ids = ref_events.referenced_ids!