Update for nostr-types changes

This commit is contained in:
Mike Dilger 2023-11-16 10:42:43 +13:00
parent 3b1223a106
commit e94f40952a
2 changed files with 3 additions and 0 deletions

View File

@ -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![],
});
}

View File

@ -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