From 625381969a22e777d9c64bb4dfa3ac265f82438b Mon Sep 17 00:00:00 2001 From: Bu5hm4nn Date: Thu, 21 Mar 2024 19:49:30 -0600 Subject: [PATCH] Add kind:6 embedded events to storage so they are available for reply, repost and quote --- gossip-lib/src/process.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gossip-lib/src/process.rs b/gossip-lib/src/process.rs index 1c3dd6fb..3b136733 100644 --- a/gossip-lib/src/process.rs +++ b/gossip-lib/src/process.rs @@ -291,7 +291,10 @@ pub async fn process_new_event( } else if event.kind == EventKind::Repost { // If it has a json encoded inner event if let Ok(inner_event) = serde_json::from_str::(&event.content) { - // Seek that event by id and author + // process the inner event + process_new_event(&inner_event, None, None, verify, false).await?; + + // Seek additional info for this event by id and author GLOBALS .seeker .seek_id_and_author(inner_event.id, inner_event.pubkey)?;