From 165fb4e5ee16fe5444c0dd0264c4a327aef2148d Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 20 Oct 2025 14:34:52 +0100 Subject: fix: reading NIP-22 style Status events during fetch also fix the report so that we show nip10 style statuses too --- src/bin/ngit/sub_commands/list.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/bin/ngit') diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs index 2de3151..981307d 100644 --- a/src/bin/ngit/sub_commands/list.rs +++ b/src/bin/ngit/sub_commands/list.rs @@ -13,6 +13,7 @@ use ngit::{ }, repo_ref::{RepoRef, is_grasp_server_in_list}, }; +use nostr::filter::{Alphabet, SingleLetterTag}; use nostr_sdk::Kind; use crate::{ @@ -59,6 +60,12 @@ pub async fn launch() -> Result<()> { nostr::Filter::default() .kinds(status_kinds().clone()) .events(proposals_and_revisions.iter().map(|e| e.id)), + nostr::Filter::default() + .custom_tags( + SingleLetterTag::uppercase(Alphabet::E), + proposals_and_revisions.iter().map(|e| e.id), + ) + .kinds(status_kinds().clone()), ], ) .await?; -- cgit v1.2.3