mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Cleanup
This commit is contained in:
parent
d59383be0e
commit
aab793779b
1 changed files with 8 additions and 8 deletions
|
@ -3647,11 +3647,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
// https://tools.ietf.org/html/rfc5546#section-4.2.2
|
||||
VEvent ev = new VEvent();
|
||||
|
||||
if (created != null)
|
||||
if (created != null && false)
|
||||
ev.setCreated(created);
|
||||
if (modified != null)
|
||||
if (modified != null && false)
|
||||
ev.setLastModified(modified);
|
||||
if (transparancy != null)
|
||||
if (transparancy != null && false)
|
||||
ev.setTransparency(transparancy);
|
||||
|
||||
ev.setOrganizer(event.getOrganizer());
|
||||
|
@ -3717,17 +3717,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
name = name.replaceAll("\\s+", " ");
|
||||
|
||||
Attendee attendee = new Attendee(name, email);
|
||||
attendee.setCalendarUserType(CalendarUserType.INDIVIDUAL);
|
||||
attendee.setRole(Role.ATTENDEE);
|
||||
//attendee.setCalendarUserType(CalendarUserType.INDIVIDUAL);
|
||||
//attendee.setRole(Role.ATTENDEE);
|
||||
|
||||
if (action == R.id.btnCalendarAccept) {
|
||||
ev.setStatus(Status.accepted());
|
||||
//ev.setStatus(Status.accepted());
|
||||
attendee.setParticipationStatus(ParticipationStatus.ACCEPTED);
|
||||
} else if (action == R.id.btnCalendarDecline) {
|
||||
ev.setStatus(Status.declined());
|
||||
//ev.setStatus(Status.declined());
|
||||
attendee.setParticipationStatus(ParticipationStatus.DECLINED);
|
||||
} else if (action == R.id.btnCalendarMaybe) {
|
||||
ev.setStatus(Status.tentative());
|
||||
//ev.setStatus(Status.tentative());
|
||||
attendee.setParticipationStatus(ParticipationStatus.TENTATIVE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue