mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
Caldav: Exclude RSVP=FALSE from notifications recipients list for Outlook 2003 compatibility
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@545 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
9ad2490e3c
commit
0a42c44863
@ -888,7 +888,8 @@ public class ExchangeSession {
|
||||
ArrayList<DavProperty> list = new ArrayList<DavProperty>();
|
||||
list.add(new DefaultDavProperty(DavPropertyName.create("outlookfolderclass", Namespace.getNamespace("http://schemas.microsoft.com/exchange/")), "IPF.Note"));
|
||||
PropPatchMethod method = new PropPatchMethod(URIUtil.encodePath(folderPath), list) {
|
||||
@Override public String getName() {
|
||||
@Override
|
||||
public String getName() {
|
||||
return "MKCOL";
|
||||
}
|
||||
};
|
||||
@ -1486,7 +1487,9 @@ public class ExchangeSession {
|
||||
if ("ORGANIZER".equals(key)) {
|
||||
organizer = value;
|
||||
// exclude current user and invalid values from recipients
|
||||
} else if (!email.equalsIgnoreCase(value) && value.indexOf('@') >=0) {
|
||||
// also exclude RSVP=FALSE attendees
|
||||
} else if (!email.equalsIgnoreCase(value) && value.indexOf('@') >= 0
|
||||
&& line.indexOf("RSVP=FALSE") < 0) {
|
||||
attendees.add(value);
|
||||
}
|
||||
}
|
||||
@ -1742,6 +1745,7 @@ public class ExchangeSession {
|
||||
/**
|
||||
* Build base path for cmd commands (galfind, gallookup).
|
||||
* This does not work with freebusy, which requires /public/
|
||||
*
|
||||
* @return cmd base path
|
||||
*/
|
||||
public String getCmdBasePath() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user