diff options
Diffstat (limited to 'src/state')
| -rw-r--r-- | src/state/host.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/state/host.rs b/src/state/host.rs index 345dfbf..0b2b27d 100644 --- a/src/state/host.rs +++ b/src/state/host.rs @@ -310,6 +310,12 @@ impl Host for AppState { Arc::clone(&self.holding) } + #[cfg(feature = "federation")] + fn store_id(&self) -> Option<crate::federation::store::Id> { + use crate::locks::MutexExt; + self.screening.lock_or_recover().store + } + fn current_epoch(&self) -> Epoch { self.local_epoch() } |
