diff --git a/filter/filter.go b/filter/filter.go index 5a81250..9a000bc 100644 --- a/filter/filter.go +++ b/filter/filter.go @@ -4,7 +4,6 @@ import "github.com/fiatjaf/go-nostr/event" type EventFilter struct { ID string `json:"id,omitempty"` - Author string `json:"author,omitempty"` Kind *int `json:"kind,omitempty"` Authors []string `json:"authors,omitempty"` TagEvent string `json:"#e,omitempty"` @@ -21,10 +20,6 @@ func (ef EventFilter) Matches(event *event.Event) bool { return false } - if ef.Author != "" && ef.Author != event.PubKey { - return false - } - if ef.Authors != nil { found := false for _, pubkey := range ef.Authors {