diff options
Diffstat (limited to 'src/bin/git_remote_nostr/push.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/push.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index 05c9197..5bc1cc8 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs | |||
| @@ -296,14 +296,15 @@ pub async fn run_push( | |||
| 296 | // TODO check whether tip of each branch pushed is on at least one git server | 296 | // TODO check whether tip of each branch pushed is on at least one git server |
| 297 | // before broadcasting the nostr state | 297 | // before broadcasting the nostr state |
| 298 | if !events.is_empty() { | 298 | if !events.is_empty() { |
| 299 | term.write_line("broadcast to nostr relays:")?; | ||
| 299 | send_events( | 300 | send_events( |
| 300 | client, | 301 | client, |
| 301 | git_repo.get_path()?, | 302 | git_repo.get_path()?, |
| 302 | events, | 303 | events, |
| 303 | user_ref.relays.write(), | 304 | user_ref.relays.write(), |
| 304 | repo_ref.relays.clone(), | 305 | repo_ref.relays.clone(), |
| 305 | false, | ||
| 306 | true, | 306 | true, |
| 307 | false, | ||
| 307 | ) | 308 | ) |
| 308 | .await?; | 309 | .await?; |
| 309 | } | 310 | } |