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

@@ -61,7 +61,7 @@ struct BuilderEventView: View {
subscribe(filters: [
NostrFilter(ids: [self.event_id], limit: 1),
NostrFilter(
kinds: [NostrKind.zap.rawValue],
kinds: [.zap],
referenced_ids: [self.event_id]
)
])