From 10498b953d36304b441fcb162155c2487046206f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 22 Apr 2024 07:26:15 +0100 Subject: feat(send): `in-reply-to` tags npubs and events in addition to being used to create a new proposal revision, in-reply-to can now be used to reference other events and npubs. for example an issues or kind 1 threads where the proposal is relevant the proposal will only be marked as a revision if the first parameter is a reference to an existing proposal root --- src/git.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 77c1dcb..e797cb8 100644 --- a/src/git.rs +++ b/src/git.rs @@ -1526,6 +1526,7 @@ mod tests { None, None, &None, + &[], ) } fn test_patch_applies_to_repository(patch_event: nostr::Event) -> Result<()> { @@ -1687,6 +1688,7 @@ mod tests { &TEST_KEY_1_KEYS, &RepoRef::try_from(generate_repo_ref_event()).unwrap(), &None, + &[], )?; events.reverse(); -- cgit v1.2.3