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

Import first/last name recognition

This commit is contained in:
M66B 2022-03-11 08:27:46 +01:00
parent ea7b7f481b
commit 3232e0c979

View file

@ -126,6 +126,12 @@ public class EntityAnswer implements Serializable {
if (c > 0) {
first = fullName.substring(0, c).trim();
last = fullName.substring(c + 1).trim();
} else {
c = fullName.indexOf('@');
if (c > 0) {
first = fullName.substring(0, c).trim();
last = null;
}
}
}
}