diff --git a/src/client_server/room.rs b/src/client_server/room.rs
index 631d87bad9583d01e338980d545c59682968f5ed..4adc33540c66e82b2ef46504ddcc1cb1f24d59bd 100644
--- a/src/client_server/room.rs
+++ b/src/client_server/room.rs
@@ -220,12 +220,8 @@ pub async fn create_room_route(
             continue;
         }
 
-        db.rooms.build_and_append_pdu(
-            pdu_builder,
-            &sender_user,
-            &room_id,
-            &db,
-        )?;
+        db.rooms
+            .build_and_append_pdu(pdu_builder, &sender_user, &room_id, &db)?;
     }
 
     // 6. Events implied by name and topic