mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-21 15:08:52 -05:00
EWS: avoid NullPointerException in fixAttendees
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2306 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
448c72895a
commit
d071c59e4a
@ -1868,6 +1868,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
}
|
||||
|
||||
protected void fixAttendees(GetItemMethod getItemMethod, VObject vEvent) throws EWSException {
|
||||
if (getItemMethod.getResponseItem() != null) {
|
||||
List<EWSMethod.Attendee> attendees = getItemMethod.getResponseItem().getAttendees();
|
||||
if (attendees != null) {
|
||||
for (EWSMethod.Attendee attendee : attendees) {
|
||||
@ -1886,6 +1887,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ExchangeSession.Contact> searchContacts(String folderPath, Set<String> attributes, Condition condition, int maxCount) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user