upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sub_commands/push.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-07-19 22:10:23 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-07-19 22:10:23 +0100
commit29a093993ce7d0210ac39ceb1a25acc9350492e7 (patch)
treeb8ae2a13b975b051bda7e9461f1b8fddd986b3ca /src/sub_commands/push.rs
parentdde029b4f5988cfa830ebc36bee0f35c93bd2544 (diff)
feat: save created events to cache
as soon as they are successfully sent to at least one relay
Diffstat (limited to 'src/sub_commands/push.rs')
-rw-r--r--src/sub_commands/push.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
index 111a14a..d05158f 100644
--- a/src/sub_commands/push.rs
+++ b/src/sub_commands/push.rs
@@ -191,6 +191,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
191 191
192 send_events( 192 send_events(
193 &client, 193 &client,
194 git_repo_path,
194 patch_events, 195 patch_events,
195 user_ref.relays.write(), 196 user_ref.relays.write(),
196 repo_ref.relays.clone(), 197 repo_ref.relays.clone(),