This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 28356c1 [OPENMEETINGS-2481] another attempt to fix cancel
28356c1 is described below
commit 28356c12e267b6f179d20029df0766df47b9503c
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Fri Oct 16 23:51:49 2020 +0700
[OPENMEETINGS-2481] another attempt to fix cancel
---
.../src/main/java/org/apache/openmeetings/util/mail/IcalHandler.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/openmeetings-util/src/main/java/org/apache/openmeetings/util/mail/IcalHandler.java
b/openmeetings-util/src/main/java/org/apache/openmeetings/util/mail/IcalHandler.java
index bf09304..ff9e558 100644
---
a/openmeetings-util/src/main/java/org/apache/openmeetings/util/mail/IcalHandler.java
+++
b/openmeetings-util/src/main/java/org/apache/openmeetings/util/mail/IcalHandler.java
@@ -47,6 +47,7 @@ import net.fortuna.ical4j.model.property.Method;
import net.fortuna.ical4j.model.property.Organizer;
import net.fortuna.ical4j.model.property.ProdId;
import net.fortuna.ical4j.model.property.Sequence;
+import net.fortuna.ical4j.model.property.Status;
import net.fortuna.ical4j.model.property.Transp;
import net.fortuna.ical4j.model.property.Uid;
import net.fortuna.ical4j.model.property.Version;
@@ -106,6 +107,7 @@ public class IcalHandler {
meeting = new VEvent(start, end, name);
meeting.getProperties().add(Method.CANCEL == method ?
Transp.TRANSPARENT : Transp.OPAQUE);
+ meeting.getProperties().add(Status.VEVENT_CONFIRMED);
return this;
}