feat: Remove trailing '.' from device message about receive_imf failure

This is to avoid from the Android UI treating it as a part of URL.
This commit is contained in:
iequidoo
2026-06-29 14:33:52 -03:00
committed by iequidoo
parent abaa48d0a1
commit b4471f2434
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1284,7 +1284,9 @@ impl Session {
warn!(context, "receive_imf error: {err:#}.");
let text = format!(
"❌ Failed to receive a message: {err:#}. Core version v{DC_VERSION_STR}. Please report this bug to delta@merlinux.eu or https://support.delta.chat/.",
// No trailing '.' to avoid from the Android UI treating it as a part of
// URL.
"❌ Failed to receive a message: {err:#}. Core version v{DC_VERSION_STR}. Please report this bug to delta@merlinux.eu or https://support.delta.chat/",
);
let mut msg = Message::new_text(text);
add_device_msg(context, None, Some(&mut msg)).await?;