diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-23 15:20:59 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-23 15:20:59 +0000 |
| commit | 113928aa84894ea8f65c247d9987527e792b32a9 (patch) | |
| tree | ec967d6195d9f7ec4f061449596611afe3a0950f /src/nostr/policy | |
| parent | 26f608e5011b9d1ad6036da75b89272835e69695 (diff) | |
| parent | e0ad39a489b3398f8208713bf728db0cb11475b0 (diff) | |
Merge master into 3ca0-announcements-purgatory
Diffstat (limited to 'src/nostr/policy')
| -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: {}", |