diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-28 12:35:37 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-28 12:35:37 +0000 |
| commit | 4b06b2bd70d37656d727c8fffc0656c1aa3c7b97 (patch) | |
| tree | 1d885fdef21a7530c1a91f848788a665d6fc9948 /src/sub_commands/list.rs | |
| parent | 91a68de459b7d22a8dfb8a324e43740fca3e0a35 (diff) | |
| parent | 11dc9fa2d8b82594d3803f12d2c5a49e57026cfb (diff) | |
Merge upgrade rust-nostr v0.29
refactor to address breaking changes in rust-nostr
fix a number of in dependancy which have been upstreamed
Diffstat (limited to 'src/sub_commands/list.rs')
| -rw-r--r-- | src/sub_commands/list.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/sub_commands/list.rs b/src/sub_commands/list.rs index 2d81164..1a30b9b 100644 --- a/src/sub_commands/list.rs +++ b/src/sub_commands/list.rs | |||
| @@ -730,9 +730,12 @@ pub async fn find_proposal_events( | |||
| 730 | vec![ | 730 | vec![ |
| 731 | nostr::Filter::default() | 731 | nostr::Filter::default() |
| 732 | .kind(nostr::Kind::Custom(PATCH_KIND)) | 732 | .kind(nostr::Kind::Custom(PATCH_KIND)) |
| 733 | .custom_tag(nostr::Alphabet::T, vec!["root"]) | ||
| 734 | .custom_tag( | 733 | .custom_tag( |
| 735 | nostr::Alphabet::A, | 734 | nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), |
| 735 | vec!["root"], | ||
| 736 | ) | ||
| 737 | .custom_tag( | ||
| 738 | nostr::SingleLetterTag::lowercase(nostr::Alphabet::A), | ||
| 736 | repo_ref | 739 | repo_ref |
| 737 | .maintainers | 740 | .maintainers |
| 738 | .iter() | 741 | .iter() |
| @@ -742,7 +745,10 @@ pub async fn find_proposal_events( | |||
| 742 | // events | 745 | // events |
| 743 | nostr::Filter::default() | 746 | nostr::Filter::default() |
| 744 | .kind(nostr::Kind::Custom(PATCH_KIND)) | 747 | .kind(nostr::Kind::Custom(PATCH_KIND)) |
| 745 | .custom_tag(nostr::Alphabet::T, vec!["root"]) | 748 | .custom_tag( |
| 749 | nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), | ||
| 750 | vec!["root"], | ||
| 751 | ) | ||
| 746 | .reference(root_commit), | 752 | .reference(root_commit), |
| 747 | ], | 753 | ], |
| 748 | ) | 754 | ) |