mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Dav: Avoid returning null in getCmdBasePath
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1756 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
b6789e75f2
commit
172edf059b
@ -227,7 +227,7 @@ public class DavExchangeSession extends ExchangeSession {
|
||||
* @return cmd base path
|
||||
*/
|
||||
public String getCmdBasePath() {
|
||||
if (PUBLIC_ROOT.equals(publicFolderUrl)) {
|
||||
if (PUBLIC_ROOT.equals(publicFolderUrl) && mailPath != null) {
|
||||
// public folder is not available => try to use mailbox path
|
||||
// Note: This does not work with freebusy, which requires /public/
|
||||
return mailPath;
|
||||
|
Loading…
Reference in New Issue
Block a user