Skip to content

Commit

Permalink
Add kind:6 embedded events to storage so they are available for reply…
Browse files Browse the repository at this point in the history
…, repost and quote
  • Loading branch information
bu5hm4nn committed Mar 22, 2024
1 parent 8aa0d39 commit 6253819
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gossip-lib/src/process.rs
Expand Up @@ -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>(&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)?;
Expand Down

0 comments on commit 6253819

Please sign in to comment.