diff options
Diffstat (limited to 'src/git_mirror.rs')
| -rw-r--r-- | src/git_mirror.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git_mirror.rs b/src/git_mirror.rs index cdf853e..47b0efb 100644 --- a/src/git_mirror.rs +++ b/src/git_mirror.rs | |||
| @@ -78,7 +78,7 @@ impl GitMirror { | |||
| 78 | ); | 78 | ); |
| 79 | 79 | ||
| 80 | if let Some(ref event) = state_event { | 80 | if let Some(ref event) = state_event { |
| 81 | let relay_url = server.relay_url(); | 81 | let relay_url = server.relay_url.clone(); |
| 82 | if let Ok(url) = RelayUrl::parse(&relay_url) { | 82 | if let Ok(url) = RelayUrl::parse(&relay_url) { |
| 83 | let urls = vec![url]; | 83 | let urls = vec![url]; |
| 84 | if let Err(e) = nostr_client.send_event_to(urls, event.clone()).await { | 84 | if let Err(e) = nostr_client.send_event_to(urls, event.clone()).await { |