Skip to content

Commit

Permalink
Ignore unrecognized filters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleason committed Dec 19, 2023
1 parent c0dec7c commit dcd1bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ struct NostrFilter {
until = v.get_unsigned();
} else if (k == "limit") {
limit = v.get_unsigned();
} else {
throw herr("unrecognised filter item");
} else if (k == "search") {
throw herr("search is not supported");
}
}

Expand Down

0 comments on commit dcd1bd8

Please sign in to comment.