diff options
Diffstat (limited to 'src/nostr/policy/state.rs')
| -rw-r--r-- | src/nostr/policy/state.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nostr/policy/state.rs b/src/nostr/policy/state.rs index df743ae..80fe84c 100644 --- a/src/nostr/policy/state.rs +++ b/src/nostr/policy/state.rs | |||
| @@ -158,7 +158,11 @@ impl StatePolicy { | |||
| 158 | // authorized it. | 158 | // authorized it. |
| 159 | for owner_hex in &authorized_owners { | 159 | for owner_hex in &authorized_owners { |
| 160 | if let Ok(owner_pk) = nostr_sdk::PublicKey::from_hex(owner_hex) { | 160 | if let Ok(owner_pk) = nostr_sdk::PublicKey::from_hex(owner_hex) { |
| 161 | if self.ctx.purgatory.has_purgatory_announcement(&owner_pk, &state.identifier) { | 161 | if self |
| 162 | .ctx | ||
| 163 | .purgatory | ||
| 164 | .has_purgatory_announcement(&owner_pk, &state.identifier) | ||
| 165 | { | ||
| 162 | self.ctx.purgatory.extend_announcement_expiry( | 166 | self.ctx.purgatory.extend_announcement_expiry( |
| 163 | &owner_pk, | 167 | &owner_pk, |
| 164 | &state.identifier, | 168 | &state.identifier, |