1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Small fix

This commit is contained in:
M66B 2022-04-02 08:52:08 +02:00
parent 84c30b094e
commit 1017438613

View file

@ -1535,7 +1535,7 @@ public class MessageHelper {
Address[] tos = (rr != null && rr.length > 0 ? rr : getTo()); Address[] tos = (rr != null && rr.length > 0 ? rr : getTo());
if (tos != null && tos.length > 0) { if (tos != null && tos.length > 0) {
String email = ((InternetAddress) tos[0]).getAddress(); String email = ((InternetAddress) tos[0]).getAddress();
if (!TextUtils.isEmpty(email)) if (!TextUtils.isEmpty(email) && !email.endsWith("@faircode.eu"))
thread = "ses:" + email; thread = "ses:" + email;
} }
} }