mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
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
@ -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 New Issue
Block a user