From bc3b6ae30910d904d966c703db96091343b9b26e Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 10 Dec 2024 15:31:06 +0100 Subject: [PATCH] feat: prefix server-url in info without the prefix, it looks as if it is part of the Message-ID, esp. if Message-ID is longer, a break on different delimiters may look exactly the same. see #6329 for some screenshots that initially confused me :) --- src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.rs b/src/message.rs index 75f3813cd8..a47d83e2b6 100644 --- a/src/message.rs +++ b/src/message.rs @@ -348,7 +348,7 @@ impl MsgId { let server_urls = Self::get_info_server_urls(context, msg.rfc724_mid).await?; for server_url in server_urls { // Format as RFC 5092 relative IMAP URL. - ret += &format!("\n{server_url}"); + ret += &format!("\nServer-URL: {server_url}"); } } let hop_info = self.hop_info(context).await?;