Replace newlines in attendee email addresses

pull/194/merge
M66B 3 years ago
parent c5d39bf1f6
commit 81aab46ef0

@ -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;

Loading…
Cancel
Save