Modify iCal summary

pull/209/head
M66B 2 years ago
parent 830f32f59b
commit dd6d2ba33b

@ -202,6 +202,7 @@ import biweekly.property.Method;
import biweekly.property.Organizer; import biweekly.property.Organizer;
import biweekly.property.RawProperty; import biweekly.property.RawProperty;
import biweekly.property.Status; import biweekly.property.Status;
import biweekly.property.Summary;
import biweekly.property.Transparency; import biweekly.property.Transparency;
import biweekly.util.ICalDate; import biweekly.util.ICalDate;
@ -3735,10 +3736,15 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
attendee.setParticipationStatus(ParticipationStatus.TENTATIVE); attendee.setParticipationStatus(ParticipationStatus.TENTATIVE);
status = context.getString(R.string.title_icalendar_maybe); status = context.getString(R.string.title_icalendar_maybe);
} }
args.putString("status", status);
ev.addAttendee(attendee); ev.addAttendee(attendee);
if (status != null) {
args.putString("status", status);
Summary summary = ev.getSummary();
ev.setSummary(status + ": " + (summary == null ? "" : summary.getValue()));
}
// Microsoft specific properties: // Microsoft specific properties:
// X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE // X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
// X-MICROSOFT-CDO-IMPORTANCE:1 // X-MICROSOFT-CDO-IMPORTANCE:1

Loading…
Cancel
Save