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;