From 49bc478fffc63a3cad0be194c6c45a868e432691 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 22 Mar 2024 15:51:40 +0000 Subject: update tag generation to reflect changes in rust-nostr --- src/sub_commands/list.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/sub_commands/list.rs') 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( vec![ nostr::Filter::default() .kind(nostr::Kind::Custom(PATCH_KIND)) - .custom_tag(nostr::Alphabet::T, vec!["root"]) .custom_tag( - nostr::Alphabet::A, + nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), + vec!["root"], + ) + .custom_tag( + nostr::SingleLetterTag::lowercase(nostr::Alphabet::A), repo_ref .maintainers .iter() @@ -742,7 +745,10 @@ pub async fn find_proposal_events( // events nostr::Filter::default() .kind(nostr::Kind::Custom(PATCH_KIND)) - .custom_tag(nostr::Alphabet::T, vec!["root"]) + .custom_tag( + nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), + vec!["root"], + ) .reference(root_commit), ], ) -- cgit v1.2.3