Make the extended (with display name) address look nicer

This commit is contained in:
Hocuri
2020-04-17 09:58:54 +02:00
parent b0a92a8727
commit 24ba96f6b2

View File

@@ -1738,7 +1738,7 @@ fn add_or_lookup_contact_by_addr(
// addr is not the address of the actual sender but the one of the mailing list.
// Add the display name to the addr to make it distinguishable from other people
// who sent to the same mailing list.
*addr.to_mut() = format!("{}-{}", display_name_normalized, addr);
*addr.to_mut() = format!("{} {}", display_name_normalized, addr);
}
}