1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-29 19:28:31 +00:00

Fixing the incoming events algorithm (review with time)

This commit is contained in:
Devin Ragotzy 2021-01-16 16:37:20 -05:00
parent 96dc6be14b
commit b1ae2bbeb2
2 changed files with 138 additions and 101 deletions

View file

@ -150,7 +150,7 @@ impl Rooms {
}
}
/// Returns the last state hash key added to the db.
/// Returns the state hash for this pdu.
pub fn pdu_state_hash(&self, pdu_id: &[u8]) -> Result<Option<StateHashId>> {
Ok(self.pduid_statehash.get(pdu_id)?)
}