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

Replace newlines in attendee email addresses

This commit is contained in:
M66B 2022-01-15 10:15:53 +01:00
parent c5d39bf1f6
commit 81aab46ef0

View file

@ -3222,8 +3222,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
List<String> attendee = new ArrayList<>();
for (Attendee a : event.getAttendees()) {
String email = a.getEmail();
if (!TextUtils.isEmpty(email))
if (!TextUtils.isEmpty(email)) {
email = email.replaceAll("\\r?\\n", "");
attendee.add(email);
}
}
int status;