diff --git a/src/api/client_server/room.rs b/src/api/client_server/room.rs index b9d22049..d2af99d0 100644 --- a/src/api/client_server/room.rs +++ b/src/api/client_server/room.rs @@ -673,7 +673,7 @@ pub async fn upgrade_room_route( // "creator" key no longer exists in V11 rooms create_event_content.remove("creator"); } - _ => panic!("Unexpected room version {}", body.new_version) + _ => panic!("Unexpected room version {}", body.new_version), } create_event_content.insert( diff --git a/src/service/rooms/timeline/mod.rs b/src/service/rooms/timeline/mod.rs index f7844cdb..e4ba1acf 100644 --- a/src/service/rooms/timeline/mod.rs +++ b/src/service/rooms/timeline/mod.rs @@ -437,7 +437,7 @@ impl Service { self.redact_pdu(redact_id, pdu)?; } } - _ => panic!("Unexpected room version {}", room_version_id) + _ => panic!("Unexpected room version {}", room_version_id), }; } TimelineEventType::SpaceChild => {