fix: sending does not work

We were inserting one too many 0xff bytes
This commit is contained in:
Timo Kösters authored and Nyaaori committed 2022-10-10 14:02:05 +02:00
1 parent 229444c932
commit ca82b2940d
6 files changed
+18 -47

No files matched your search

+2 -2
View File
@@ -556,7 +556,7 @@ impl KeyValueDatabase {
services()
.rooms
.state_compressor
.load_shortstatehash_info(dbg!(last_roomsstatehash))
.load_shortstatehash_info(last_roomsstatehash)
},
)?;
@@ -579,7 +579,7 @@ impl KeyValueDatabase {
};
services().rooms.state_compressor.save_state_from_diff(
dbg!(current_sstatehash),
current_sstatehash,
statediffnew,
statediffremoved,
2, // every state change is 2 event changes on average