mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 16:31:18 +00:00
Update for nostr-types changes
This commit is contained in:
parent
3b1223a106
commit
e94f40952a
@ -1796,6 +1796,7 @@ impl Overlord {
|
||||
pubkey: reposted_event.pubkey.into(),
|
||||
d: reposted_event.parameter().unwrap_or("".to_string()),
|
||||
relay_url: relay_url.clone(),
|
||||
marker: None,
|
||||
trailing: vec![],
|
||||
});
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ pub async fn add_event_to_tags(existing_tags: &mut Vec<Tag>, added: Id, marker:
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME pass in and set marker
|
||||
pub async fn add_addr_to_tags(
|
||||
existing_tags: &mut Vec<Tag>,
|
||||
kind: EventKind,
|
||||
@ -73,6 +74,7 @@ pub async fn add_addr_to_tags(
|
||||
pubkey,
|
||||
d,
|
||||
relay_url,
|
||||
marker: None,
|
||||
trailing: Vec::new(),
|
||||
});
|
||||
existing_tags.len() - 1
|
||||
|
Loading…
Reference in New Issue
Block a user