Caldav: fix nullpointer in VCalendar

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1324 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-08-01 23:07:53 +00:00
parent 20ca74fb88
commit 247ab3df9e
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ public class VCalendar extends VObject {
// exclude current user and invalid values from recipients
// also exclude no action attendees
String attendeeEmail = getEmailValue(property);
if (!email.equalsIgnoreCase(attendeeEmail) && attendeeEmail.indexOf('@') >= 0
if (!email.equalsIgnoreCase(attendeeEmail) && attendeeEmail != null && attendeeEmail.indexOf('@') >= 0
// return all attendees for user calendar folder, filter for notifications
&& (!isNotification
// notify attendee if reply explicitly requested