Changeset 269
- Timestamp:
- 08/10/08 10:30:00 AM (3 months ago)
- Location:
- branches/LogicMail-1.0/LogicMail/src/org/logicprobe/LogicMail/mail/imap
- Files:
-
- 2 modified
-
ImapClient.java (modified) (1 diff)
-
ImapProtocol.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/LogicMail-1.0/LogicMail/src/org/logicprobe/LogicMail/mail/imap/ImapClient.java
r246 r269 250 250 FolderTreeItem childItem = getFolderItem(baseFolder, resp.name, resp.canSelect); 251 251 baseFolder.addChild(childItem); 252 if(resp.hasChildren || !childrenExtension) {252 if(resp.hasChildren || (!resp.noInferiors && !childrenExtension)) { 253 253 // The folder has children, so lets go and list them 254 254 if(depth+1 < globalConfig.getImapMaxFolderDepth()) { -
branches/LogicMail-1.0/LogicMail/src/org/logicprobe/LogicMail/mail/imap/ImapProtocol.java
r254 r269 723 723 public static class ListResponse { 724 724 public boolean hasChildren; 725 public boolean noInferiors; 725 726 public boolean canSelect; 726 727 public boolean marked; … … 793 794 response.canSelect = !(flagStr.indexOf("\\Noselect") != -1); 794 795 response.hasChildren = (flagStr.indexOf("\\HasChildren") != -1); 796 response.noInferiors = (flagStr.indexOf("\\Noinferiors") != -1); 795 797 response.marked = (flagStr.indexOf("\\Marked") != -1); 796 798
