mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -05:00
IMAP: implement LIST "" "*%" for emacs
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@923 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
c6abdc8f23
commit
6ef09d6297
@ -147,6 +147,9 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
}
|
}
|
||||||
sendClient("* " + command + " (\\HasChildren) \"/\" \"/public\"");
|
sendClient("* " + command + " (\\HasChildren) \"/\" \"/public\"");
|
||||||
}
|
}
|
||||||
|
if ("*%".equals(folderQuery)) {
|
||||||
|
folderQuery = "*";
|
||||||
|
}
|
||||||
boolean recursive = folderQuery.endsWith("*") && !folderQuery.startsWith("/public");
|
boolean recursive = folderQuery.endsWith("*") && !folderQuery.startsWith("/public");
|
||||||
sendSubFolders(command, folderQuery.substring(0, folderQuery.length() - 1), recursive);
|
sendSubFolders(command, folderQuery.substring(0, folderQuery.length() - 1), recursive);
|
||||||
sendClient(commandId + " OK " + command + " completed");
|
sendClient(commandId + " OK " + command + " completed");
|
||||||
|
Loading…
Reference in New Issue
Block a user