upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/ngit/sub_commands/list.rs7
1 files changed, 7 insertions, 0 deletions
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::{
13 }, 13 },
14 repo_ref::{RepoRef, is_grasp_server_in_list}, 14 repo_ref::{RepoRef, is_grasp_server_in_list},
15}; 15};
16use nostr::filter::{Alphabet, SingleLetterTag};
16use nostr_sdk::Kind; 17use nostr_sdk::Kind;
17 18
18use crate::{ 19use crate::{
@@ -59,6 +60,12 @@ pub async fn launch() -> Result<()> {
59 nostr::Filter::default() 60 nostr::Filter::default()
60 .kinds(status_kinds().clone()) 61 .kinds(status_kinds().clone())
61 .events(proposals_and_revisions.iter().map(|e| e.id)), 62 .events(proposals_and_revisions.iter().map(|e| e.id)),
63 nostr::Filter::default()
64 .custom_tags(
65 SingleLetterTag::uppercase(Alphabet::E),
66 proposals_and_revisions.iter().map(|e| e.id),
67 )
68 .kinds(status_kinds().clone()),
62 ], 69 ],
63 ) 70 )
64 .await?; 71 .await?;