mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Modify iCal summary
This commit is contained in:
parent
830f32f59b
commit
dd6d2ba33b
1 changed files with 7 additions and 1 deletions
|
@ -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…
Reference in a new issue