From d8f4f7641312bff32f772cbc070b3f99ced0c8fe Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 9 Dec 2024 15:35:18 +0000 Subject: fix: fetch user relays for `send`,`push` & `init` get the latest user relay list before pushing patches and repo announcement events --- src/bin/git_remote_nostr/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/git_remote_nostr/push.rs') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index 40e9584..6116fe2 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -127,7 +127,7 @@ pub async fn run_push( } let (signer, user_ref, _) = - login::login_or_signup(&Some(git_repo), &None, &None, Some(client)).await?; + login::login_or_signup(&Some(git_repo), &None, &None, Some(client), true).await?; if !repo_ref.maintainers.contains(&user_ref.public_key) { for refspec in &git_server_refspecs { -- cgit v1.2.3