diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-09 15:35:18 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-09 15:35:18 +0000 |
| commit | d8f4f7641312bff32f772cbc070b3f99ced0c8fe (patch) | |
| tree | 0ca4db7b41d7c191eb91ceb1c8124b5e659a3566 /src/bin/git_remote_nostr/push.rs | |
| parent | f0d0e1ba1cba11d3a98a5ab0c7f1dc72b6bc4e17 (diff) | |
fix: fetch user relays for `send`,`push` & `init`
get the latest user relay list before pushing patches and repo
announcement events
Diffstat (limited to 'src/bin/git_remote_nostr/push.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/push.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( | |||
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | let (signer, user_ref, _) = | 129 | let (signer, user_ref, _) = |
| 130 | login::login_or_signup(&Some(git_repo), &None, &None, Some(client)).await?; | 130 | login::login_or_signup(&Some(git_repo), &None, &None, Some(client), true).await?; |
| 131 | 131 | ||
| 132 | if !repo_ref.maintainers.contains(&user_ref.public_key) { | 132 | if !repo_ref.maintainers.contains(&user_ref.public_key) { |
| 133 | for refspec in &git_server_refspecs { | 133 | for refspec in &git_server_refspecs { |