fix: e2ee verification
This commit is contained in:
parent
ac0027756e
commit
8c44312485
5 changed files with 12 additions and 8 deletions
|
@ -1495,7 +1495,7 @@ impl Rooms {
|
|||
prefix.push(0xff);
|
||||
|
||||
let mut current = prefix.clone();
|
||||
current.extend_from_slice(&until.to_be_bytes());
|
||||
current.extend_from_slice(&(until.saturating_sub(1)).to_be_bytes()); // -1 because we don't want event at `until`
|
||||
|
||||
let current: &[u8] = ¤t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue