upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/repo_ref.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-03-22 15:51:40 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-03-25 11:46:23 +0000
commit49bc478fffc63a3cad0be194c6c45a868e432691 (patch)
tree69438e9123858aee17828d9e718058797e3583e6 /src/repo_ref.rs
parent9a450f2ce740da08843a541d230c43194b934f5f (diff)
update tag generation
to reflect changes in rust-nostr
Diffstat (limited to 'src/repo_ref.rs')
-rw-r--r--src/repo_ref.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/repo_ref.rs b/src/repo_ref.rs
index 0a14005..2dab79c 100644
--- a/src/repo_ref.rs
+++ b/src/repo_ref.rs
@@ -200,8 +200,9 @@ pub async fn fetch(
200 nostr::Filter::default().kind(nostr::Kind::Custom(REPO_REF_KIND)); 200 nostr::Filter::default().kind(nostr::Kind::Custom(REPO_REF_KIND));
201 match nip19 { 201 match nip19 {
202 Nip19::Coordinate(c) => { 202 Nip19::Coordinate(c) => {
203 repo_event_filter = 203 repo_event_filter = repo_event_filter
204 repo_event_filter.identifier(c.identifier).author(c.pubkey); 204 .identifier(c.identifier)
205 .author(c.public_key);
205 for r in c.relays { 206 for r in c.relays {
206 relays.push(r); 207 relays.push(r);
207 } 208 }