mirror of https://github.com/M66B/FairEmail.git
Added start/end date/time to calendar replies
This commit is contained in:
parent
0fa78c3e66
commit
d98298160d
|
@ -1342,6 +1342,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
ev.setUid(event.getUid());
|
||||
if (event.getSequence() != null)
|
||||
ev.setSequence(event.getSequence());
|
||||
if (event.getDateStart() != null)
|
||||
ev.setDateStart(event.getDateStart());
|
||||
if (event.getDateEnd() != null)
|
||||
ev.setDateEnd(event.getDateEnd());
|
||||
|
||||
InternetAddress to = (InternetAddress) message.to[0];
|
||||
Attendee attendee = new Attendee(to.getPersonal(), to.getAddress());
|
||||
|
@ -1360,6 +1364,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
ev.addAttendee(attendee);
|
||||
|
||||
// https://icalendar.org/validator.html
|
||||
ICalendar response = new ICalendar();
|
||||
response.setMethod(Method.REPLY);
|
||||
response.addEvent(ev);
|
||||
|
|
Loading…
Reference in New Issue