Skip to content

Commit

Permalink
fix: send OK message for ephemeral events
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc authored and scsibug committed Nov 3, 2023
1 parent 24b1705 commit a7b169c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ pub async fn db_writer(
start.elapsed()
);
event_write = true;

// send OK message
notice_tx.try_send(Notice::saved(event.id)).ok();
} else {
match repo.write_event(&event).await {
Ok(updated) => {
Expand Down

0 comments on commit a7b169c

Please sign in to comment.