diff options
Diffstat (limited to 'src/nostr/policy/state.rs')
| -rw-r--r-- | src/nostr/policy/state.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nostr/policy/state.rs b/src/nostr/policy/state.rs index e6de54e..df743ae 100644 --- a/src/nostr/policy/state.rs +++ b/src/nostr/policy/state.rs | |||
| @@ -276,9 +276,12 @@ impl StatePolicy { | |||
| 276 | 276 | ||
| 277 | // If no git data - add to purgatory | 277 | // If no git data - add to purgatory |
| 278 | // (add_state automatically enqueues for background sync) | 278 | // (add_state automatically enqueues for background sync) |
| 279 | self.ctx | 279 | self.ctx.purgatory.add_state( |
| 280 | .purgatory | 280 | event.clone(), |
| 281 | .add_state(event.clone(), state.identifier.clone(), event.pubkey); | 281 | state.identifier.clone(), |
| 282 | event.pubkey, | ||
| 283 | is_synced, | ||
| 284 | ); | ||
| 282 | 285 | ||
| 283 | tracing::info!( | 286 | tracing::info!( |
| 284 | "state event added to purgatory: eventid: {}, identifier: {}", | 287 | "state event added to purgatory: eventid: {}, identifier: {}", |