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:
parent
c5d39bf1f6
commit
81aab46ef0
1 changed files with 3 additions and 1 deletions
|
@ -3222,9 +3222,11 @@ 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;
|
||||
if (icalendar.getMethod() == null)
|
||||
|
|
Loading…
Reference in a new issue