damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 196081cd38f573e5df2a264720a60dea78dd2f15
parent 203203a7067cd33c8ec1aa58398afbd48620f535
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 27 Jan 2023 09:35:43 -0800

mutelists: #d must be an array

Not sure how this was working before

Diffstat:
Mdamus/Models/HomeModel.swift | 2+-
Mdamus/Nostr/NostrFilter.swift | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Models/HomeModel.swift b/damus/Models/HomeModel.swift @@ -284,7 +284,7 @@ class HomeModel: ObservableObject { our_contacts_filter.authors = [damus_state.pubkey] var our_blocklist_filter = NostrFilter.filter_kinds([30000]) - our_blocklist_filter.parameter = "mute" + our_blocklist_filter.parameter = ["mute"] our_blocklist_filter.authors = [damus_state.pubkey] var dms_filter = NostrFilter.filter_kinds([ diff --git a/damus/Nostr/NostrFilter.swift b/damus/Nostr/NostrFilter.swift @@ -17,7 +17,7 @@ struct NostrFilter: Codable { var limit: UInt32? var authors: [String]? var hashtag: [String]? = nil - var parameter: String? = nil + var parameter: [String]? = nil private enum CodingKeys : String, CodingKey { case ids