Event reply with confirmed instead of implicit tentative

master
M66B 2 months ago
parent 4b0c92d478
commit 76c2b415d0

@ -201,6 +201,7 @@ import biweekly.property.Method;
import biweekly.property.Organizer; import biweekly.property.Organizer;
import biweekly.property.RawProperty; import biweekly.property.RawProperty;
import biweekly.property.RecurrenceRule; import biweekly.property.RecurrenceRule;
import biweekly.property.Status;
import biweekly.property.Summary; import biweekly.property.Summary;
import biweekly.property.Transparency; import biweekly.property.Transparency;
import biweekly.util.ICalDate; import biweekly.util.ICalDate;
@ -4228,6 +4229,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (status != null) { if (status != null) {
args.putString("status", status); args.putString("status", status);
ev.setStatus(Status.confirmed());
Summary summary = ev.getSummary(); Summary summary = ev.getSummary();
ev.setSummary(status + ": " + (summary == null ? "" : summary.getValue())); ev.setSummary(status + ": " + (summary == null ? "" : summary.getValue()));
} }

Loading…
Cancel
Save