upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/purgatory/sync/context.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/purgatory/sync/context.rs b/src/purgatory/sync/context.rs
index 9e195c7..1c2d7f2 100644
--- a/src/purgatory/sync/context.rs
+++ b/src/purgatory/sync/context.rs
@@ -647,12 +647,12 @@ pub mod mock {
647 vec!["test-repo".to_string()], 647 vec!["test-repo".to_string()],
648 )]; 648 )];
649 649
650 for url in &self.clone_urls { 650 // Create a single clone tag with multiple values (NIP-34 format)
651 tags.push(nostr_sdk::Tag::custom( 651 let clone_values: Vec<String> = self.clone_urls.iter().cloned().collect();
652 nostr_sdk::TagKind::Custom("clone".into()), 652 tags.push(nostr_sdk::Tag::custom(
653 vec![url.clone()], 653 nostr_sdk::TagKind::Custom("clone".into()),
654 )); 654 clone_values,
655 } 655 ));
656 656
657 let event = EventBuilder::new(Kind::from(30617), "") 657 let event = EventBuilder::new(Kind::from(30617), "")
658 .tags(tags) 658 .tags(tags)