diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-15 10:55:47 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-15 10:55:47 +0000 |
| commit | c9d29621ccaecbf8751ce4762026713ce9b98eed (patch) | |
| tree | f2508aee53272e6a97d6fa869612e8baa6255831 /src/sub_commands | |
| parent | 4ae2bf5fad3bbcf624d637c6d5091f7ec6254f80 (diff) | |
fix(list): filter for repo event ref tag
previously filtering for d tag rather than a tag
this kind of bug should be picked up by tests when our
mock relay is applying filters before sending events
Diffstat (limited to 'src/sub_commands')
| -rw-r--r-- | src/sub_commands/list.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sub_commands/list.rs b/src/sub_commands/list.rs index 47a8fdc..413406a 100644 --- a/src/sub_commands/list.rs +++ b/src/sub_commands/list.rs | |||
| @@ -196,7 +196,8 @@ pub async fn find_pr_events( | |||
| 196 | nostr::Filter::default() | 196 | nostr::Filter::default() |
| 197 | .kind(nostr::Kind::Custom(PATCH_KIND)) | 197 | .kind(nostr::Kind::Custom(PATCH_KIND)) |
| 198 | .custom_tag(nostr::Alphabet::T, vec!["root"]) | 198 | .custom_tag(nostr::Alphabet::T, vec!["root"]) |
| 199 | .identifiers( | 199 | .custom_tag( |
| 200 | nostr::Alphabet::A, | ||
| 200 | repo_ref | 201 | repo_ref |
| 201 | .maintainers | 202 | .maintainers |
| 202 | .iter() | 203 | .iter() |