diff --git a/src/database/rooms.rs b/src/database/rooms.rs
index fc2bd051..99f0c83e 100644
--- a/src/database/rooms.rs
+++ b/src/database/rooms.rs
@@ -265,7 +265,11 @@ impl Rooms {
/// Checks if a room exists.
pub fn first_pdu_in_room(&self, room_id: &RoomId) -> Result