Browse Source

mutelists: #d must be an array

Not sure how this was working before
translations_damus-localizations-en-us-xcloc-localized-contents-en-us-xliff--master_ar
William Casarin 2 years ago
parent
commit
196081cd38
  1. 2
      damus/Models/HomeModel.swift
  2. 2
      damus/Nostr/NostrFilter.swift

2
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([

2
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

Loading…
Cancel
Save