diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 12:24:40 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:26:16 +0000 |
| commit | dc6c20d29ea4456eee1dbc2aa8757fe955d1afc7 (patch) | |
| tree | 6230652be620a4647ffe1ad26c654b61f36cedac /src/lib/accept_maintainership.rs | |
| parent | 237ab4ebcdc5bf58f98958db5375d56baf8046a0 (diff) | |
fix: report per-relay publish results in send_events summary
Change send_events() return type from Result<()> to
Result<Vec<(String, bool)>> so callers can inspect which relays
accepted events. Update the finish message to show
"Published to X/N relays (failed: ...)" instead of the unconditional
"Published ... to nostr relays".
Diffstat (limited to 'src/lib/accept_maintainership.rs')
| -rw-r--r-- | src/lib/accept_maintainership.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/accept_maintainership.rs b/src/lib/accept_maintainership.rs index 086b858..3375ca3 100644 --- a/src/lib/accept_maintainership.rs +++ b/src/lib/accept_maintainership.rs | |||
| @@ -149,7 +149,7 @@ pub async fn accept_maintainership_with_defaults( | |||
| 149 | 149 | ||
| 150 | client.set_signer(signer.clone()).await; | 150 | client.set_signer(signer.clone()).await; |
| 151 | 151 | ||
| 152 | send_events( | 152 | let _ = send_events( |
| 153 | client, | 153 | client, |
| 154 | Some(git_repo.get_path()?), | 154 | Some(git_repo.get_path()?), |
| 155 | vec![repo_event], | 155 | vec![repo_event], |