Should fix issue 111. Checks to make sure that the selected folder matches what we're generating with prefix + delimeter.

This commit is contained in:
Brock Tice 2008-12-03 19:08:03 +00:00
parent d59e17bb01
commit 33d8d3bc24
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="build_number">149M</string>
<string name="build_number">153M</string>
</resources>

View File

@ -199,6 +199,9 @@ public class ImapStore extends Store {
if(folder.length() >= mPathPrefix.length() + 1){
folder = folder.substring(mPathPrefix.length() + 1);
}
if(!decodeFolderName(response.getString(3)).equals(mPathPrefix + mPathDelimeter + folder)){
includeFolder = false;
}
}
}