mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-15 13:55:09 -05:00
Fix regression : /exchange/ does not work for galfind under Exchange 2007
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@538 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
5fb8e919cc
commit
e263c8e797
@ -1740,7 +1740,7 @@ public class ExchangeSession {
|
||||
*/
|
||||
public String getCmdBasePath() {
|
||||
if (mailPath == null) {
|
||||
return "/exchange/";
|
||||
return "/public/";
|
||||
} else {
|
||||
return mailPath;
|
||||
}
|
||||
@ -1993,7 +1993,7 @@ public class ExchangeSession {
|
||||
|
||||
final HashMap<String, StringBuilder> busyMap = new HashMap<String, StringBuilder>();
|
||||
|
||||
protected StringBuilder getBusyBuffer(char type) {
|
||||
StringBuilder getBusyBuffer(char type) {
|
||||
String fbType = FBTYPES.get(Character.valueOf(type));
|
||||
StringBuilder buffer = busyMap.get(fbType);
|
||||
if (buffer == null) {
|
||||
@ -2003,7 +2003,7 @@ public class ExchangeSession {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
protected void startBusy(char type, Calendar currentCal) {
|
||||
void startBusy(char type, Calendar currentCal) {
|
||||
if (type == '4') {
|
||||
knownAttendee = false;
|
||||
} else if (type != '0') {
|
||||
@ -2015,13 +2015,13 @@ public class ExchangeSession {
|
||||
}
|
||||
}
|
||||
|
||||
protected void endBusy(char type, Calendar currentCal) {
|
||||
void endBusy(char type, Calendar currentCal) {
|
||||
if (type != '0' && type != '4') {
|
||||
getBusyBuffer(type).append('/').append(icalParser.format(currentCal.getTime()));
|
||||
}
|
||||
}
|
||||
|
||||
public FreeBusy(SimpleDateFormat icalParser, Date startDate, String fbdata) {
|
||||
FreeBusy(SimpleDateFormat icalParser, Date startDate, String fbdata) {
|
||||
this.icalParser = icalParser;
|
||||
if (fbdata.length() > 0) {
|
||||
Calendar currentCal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
|
||||
|
Loading…
Reference in New Issue
Block a user