mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-13 06:28:19 -05:00
Caldav: fix regression on non meeting events
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@473 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
ab8dd30c4d
commit
2bbf11d320
@ -1508,7 +1508,7 @@ public class ExchangeSession {
|
||||
body.append("To: ").append(participants.attendees).append("\r\n");
|
||||
body.append("From: ").append(participants.organizer).append("\r\n");
|
||||
// if not organizer, set REPLYTIME to force Outlook in attendee mode
|
||||
if (!email.equalsIgnoreCase(participants.organizer)) {
|
||||
if (participants.organizer != null && !email.equalsIgnoreCase(participants.organizer)) {
|
||||
if (icsBody.indexOf("METHOD:") < 0) {
|
||||
icsBody = icsBody.replaceAll("BEGIN:VCALENDAR", "BEGIN:VCALENDAR\r\nMETHOD:REQUEST");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user