File tree Expand file tree Collapse file tree
src/java/davmail/exchange/graph Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -238,14 +238,8 @@ public byte[] getEventContent() throws IOException {
238238 localVCalendar .setEmail (getCalendarEmail (folderPath ));
239239 // set timezone based on start date timezone
240240 String originalStartTimeZone = graphObject .optString ("originalStartTimeZone" );
241- String originalEndTimeZone = graphObject .optString ("originalEndTimeZone" );
242241 if (originalStartTimeZone != null && !"tzone://Microsoft/Custom" .equals (originalStartTimeZone )) {
243242 localVCalendar .setTimezone (getVTimezone (originalStartTimeZone ));
244- // mixed timezone event, append both VTIMEZONE objects
245- if (originalEndTimeZone != null && !"tzone://Microsoft/Custom" .equals (originalEndTimeZone )
246- && !originalEndTimeZone .equals (originalStartTimeZone )) {
247- localVCalendar .setTimezone (getVTimezone (originalEndTimeZone ));
248- }
249243 } else {
250244 localVCalendar .setTimezone (getVTimezone ());
251245 }
@@ -1771,7 +1765,6 @@ public enum WellKnownFolderName {
17711765 EVENT_ATTRIBUTES .add (GraphField .get ("organizer" ));
17721766 EVENT_ATTRIBUTES .add (GraphField .get ("originalStartTimeZone" ));
17731767 EVENT_ATTRIBUTES .add (GraphField .get ("originalStart" ));
1774- EVENT_ATTRIBUTES .add (GraphField .get ("originalEndTimeZone" ));
17751768 EVENT_ATTRIBUTES .add (GraphField .get ("recurrence" ));
17761769 EVENT_ATTRIBUTES .add (GraphField .get ("reminderMinutesBeforeStart" ));
17771770 EVENT_ATTRIBUTES .add (GraphField .get ("responseRequested" ));
Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ public enum DistinguishedPropertySetType {
121121 addFieldMap ("objecttype" );
122122
123123 addFieldMap ("originalStartTimeZone" );
124- addFieldMap ("originalEndTimeZone" );
125124
126125 addFieldMap ("allowNewTimeProposals" );
127126 addFieldMap ("attendees" );
You can’t perform that action at this time.
0 commit comments