Debug soft hyphens

This commit is contained in:
M66B 2023-11-30 08:48:42 +01:00
parent 5fdea7ad5f
commit 304a765b4a
1 changed files with 2 additions and 2 deletions

View File

@ -2617,7 +2617,7 @@ public class MessageHelper {
String email = iaddress.getAddress(); String email = iaddress.getAddress();
String personal = iaddress.getPersonal(); String personal = iaddress.getPersonal();
if (!TextUtils.isEmpty(personal)) if (!TextUtils.isEmpty(personal))
personal = personal.replace("\u00ad", ""); // soft hyphen personal = personal.replace("\u00ad", BuildConfig.DEBUG ? "-" : ""); // soft hyphen
if (TextUtils.isEmpty(email) && TextUtils.isEmpty(personal)) if (TextUtils.isEmpty(email) && TextUtils.isEmpty(personal))
continue; continue;
@ -2854,7 +2854,7 @@ public class MessageHelper {
.trim() .trim()
.replace("\n", "") .replace("\n", "")
.replace("\r", "") .replace("\r", "")
.replace("\u00ad", ""); // soft hyphen .replace("\u00ad", BuildConfig.DEBUG ? "-" : ""); // soft hyphen
} }
Long getSize() throws MessagingException { Long getSize() throws MessagingException {