mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-08 15:36:12 +00:00
Debug soft hyphens
This commit is contained in:
parent
5fdea7ad5f
commit
304a765b4a
1 changed files with 2 additions and 2 deletions
|
@ -2617,7 +2617,7 @@ public class MessageHelper {
|
|||
String email = iaddress.getAddress();
|
||||
String personal = iaddress.getPersonal();
|
||||
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))
|
||||
continue;
|
||||
|
@ -2854,7 +2854,7 @@ public class MessageHelper {
|
|||
.trim()
|
||||
.replace("\n", "")
|
||||
.replace("\r", "")
|
||||
.replace("\u00ad", ""); // soft hyphen
|
||||
.replace("\u00ad", BuildConfig.DEBUG ? "-" : ""); // soft hyphen
|
||||
}
|
||||
|
||||
Long getSize() throws MessagingException {
|
||||
|
|
Loading…
Reference in a new issue