improvement: save state for send_join pdu

This commit is contained in:
Timo Kösters 2021-03-23 22:31:19 +01:00
parent e305889b72
commit e50f2864de
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
2 changed files with 8 additions and 1 deletions

View file

@ -1115,7 +1115,6 @@ impl Rooms {
// pdu without it's state. This is okay because append_pdu can't fail.
let statehashid = self.append_to_state(&pdu, &db.globals)?;
// remove the
self.append_pdu(
&pdu,
pdu_json,