mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2025-03-14 17:37:12 -04:00
fix: send OK
message for ephemeral events
4b9f13d983/01.md (L153)
Signed-off-by: Greg Heartsfield <scsibug@imap.cc>
This commit is contained in:
parent
24b1705a08
commit
a7b169c0d3
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user