fix: send OK message for ephemeral events

4b9f13d983/01.md (L153)
This commit is contained in:
Yuki Kishimoto 2023-10-31 09:49:10 +01:00
parent 26f296f76f
commit 8cb4e5f7b6
No known key found for this signature in database
GPG Key ID: 8D3DCD04249619D1

View File

@ -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) => {