From 419b827f7c0d826f5eedf574bce0cf9b85cab4ca Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 17 Jul 2025 11:58:49 +0100 Subject: feat(status): read nip22 style status events in anticipation of moving to the nip22 style --- src/lib/client.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/client.rs') diff --git a/src/lib/client.rs b/src/lib/client.rs index 9253022..e808bea 100644 --- a/src/lib/client.rs +++ b/src/lib/client.rs @@ -31,6 +31,7 @@ use indicatif::{MultiProgress, ProgressBar, ProgressDrawTarget, ProgressState, P use mockall::*; use nostr::{ Event, + filter::Alphabet, nips::{nip01::Coordinate, nip19::Nip19Coordinate}, signer::SignerBackend, }; @@ -1586,6 +1587,12 @@ pub fn get_fetch_filters( nostr::Filter::default() .events(proposal_ids.clone()) .kinds([vec![Kind::GitPatch, Kind::EventDeletion], status_kinds()].concat()), + nostr::Filter::default() + .custom_tags( + SingleLetterTag::uppercase(Alphabet::E), + proposal_ids.clone(), + ) + .kinds([vec![Kind::GitPatch, Kind::EventDeletion], status_kinds()].concat()), ] }, if required_profiles.is_empty() { -- cgit v1.2.3