Spacing/formatting adjustments.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -157,6 +157,7 @@ async fn get_auth_chain_outer(
|
||||
let auth_chain = self
|
||||
.get_auth_chain_inner(room_id, event_id)
|
||||
.await?;
|
||||
|
||||
self.cache_auth_chain_vec(vec![shortid], auth_chain.as_slice());
|
||||
debug!(
|
||||
?event_id,
|
||||
|
||||
@@ -90,6 +90,7 @@ impl crate::Service for Service {
|
||||
.read()
|
||||
.expect("locked for reading")
|
||||
.len();
|
||||
|
||||
writeln!(out, "federation_handletime: {federation_handletime}")?;
|
||||
|
||||
Ok(())
|
||||
|
||||
@@ -225,6 +225,7 @@ impl Service {
|
||||
} else {
|
||||
(state_ids_compressed, Arc::new(CompressedState::new()))
|
||||
};
|
||||
|
||||
self.services
|
||||
.state_compressor
|
||||
.save_state_from_diff(
|
||||
|
||||
@@ -86,7 +86,6 @@ pub async fn create_hash_and_sign_event(
|
||||
.saturating_add(uint!(1));
|
||||
|
||||
let mut unsigned = unsigned.unwrap_or_default();
|
||||
|
||||
if let Some(state_key) = &state_key {
|
||||
if let Ok(prev_pdu) = self
|
||||
.services
|
||||
|
||||
Reference in New Issue
Block a user