diff --git a/src/database.rs b/src/database.rs
index 883ef85..3b0bd6f 100644
--- a/src/database.rs
+++ b/src/database.rs
@@ -149,7 +149,8 @@ impl Database {
userdevicetxnid_response: db.open_tree("userdevicetxnid_response")?,
},
sending: sending::Sending {
- serverpduids: db.open_tree("serverpduids")?,
+ servernamepduids: db.open_tree("servernamepduids")?,
+ servercurrentpdus: db.open_tree("servercurrentpdus")?,
},
_db: db,
})
diff --git a/src/database/rooms.rs b/src/database/rooms.rs
index 35c3eac..1cc20a4 100644
--- a/src/database/rooms.rs
+++ b/src/database/rooms.rs
@@ -367,7 +367,7 @@ impl Rooms {
}
/// Returns the pdu.
- pub fn get_pdu_json_from_id(&self, pdu_id: &IVec) -> Result