Fixing the incoming events algorithm (review with time)
This commit is contained in:
parent
db0aee3318
commit
94da569119
2 changed files with 138 additions and 101 deletions
|
@ -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)?)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue