mirror of https://github.com/M66B/FairEmail.git
Debug soft hyphens
This commit is contained in:
parent
5fdea7ad5f
commit
304a765b4a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue