diff options
| author | Your Name <you@example.com> | 2026-05-27 15:32:38 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-27 15:32:38 +0530 |
| commit | d889b890f9e63815c178853ed98a1e31f6cec7f8 (patch) | |
| tree | 3eda17e8edaf61cc6dba640ae12a24e90c9d8b8c /src/main.rs | |
| parent | d60fa03de6edae0667a93ac36be4206e76255a2c (diff) | |
Fix compile issues for NIP-46 build
- nip46.rs: match on owned RelayPoolNotification (not .as_ref())
- git_mirror.rs: accept shared nostr_sdk::Client for state event publishing
- main.rs: pass nostr_client to mirror_repo_to_servers
- NIP46-PLAN.md: full implementation checklist and roadmap
- PLAN.md: updated
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 8e1383e..974898f 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -231,7 +231,7 @@ async fn mirror_cycle( | |||
| 231 | "mirroring to missing servers" | 231 | "mirroring to missing servers" |
| 232 | ); | 232 | ); |
| 233 | 233 | ||
| 234 | if let Err(e) = mirror.mirror_repo_to_servers(db, repo, &missing, nip46_client).await { | 234 | if let Err(e) = mirror.mirror_repo_to_servers(db, repo, &missing, nip46_client, nostr_client).await { |
| 235 | tracing::error!(identifier = %repo.identifier, error = %e, "git mirror failed for repo, continuing"); | 235 | tracing::error!(identifier = %repo.identifier, error = %e, "git mirror failed for repo, continuing"); |
| 236 | } | 236 | } |
| 237 | 237 | ||