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:
parent
d59e17bb01
commit
33d8d3bc24
2 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue