From 9920f8bab019464eb899b94ccf19a5edc248781a Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Wed, 28 Jan 2026 18:58:36 +0500 Subject: [PATCH] Fix formatting output of `admin debug get-retained-pdu` --- src/admin/debug/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/debug/commands.rs b/src/admin/debug/commands.rs index dda63b9b..8c9bb869 100644 --- a/src/admin/debug/commands.rs +++ b/src/admin/debug/commands.rs @@ -1034,7 +1034,7 @@ pub(super) async fn get_retained_pdu(&self, event_id: OwnedEventId) -> Result { let text = serde_json::to_string_pretty(&pdu)?; - self.write_str(&format!("Original PDU:\n```json\n{text}```")) + self.write_str(&format!("Original PDU:\n```json\n{text}\n```")) .await?; Ok(())