mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
From cketti's reminder: check untagged response with equalsIgnoreCase.
Also, reset mCombinedPrefix when the delimeter is discovered.
This commit is contained in:
parent
af55c6f48b
commit
d873ecbe7a
@ -2292,9 +2292,10 @@ public class ImapStore extends Store
|
||||
executeSimpleCommand(String.format("LIST \"\" \"\""));
|
||||
for (ImapResponse response : nameResponses)
|
||||
{
|
||||
if (response.get(0).equals("LIST"))
|
||||
if (ImapResponseParser.equalsIgnoreCase(response.get(0), "LIST"))
|
||||
{
|
||||
mPathDelimeter = response.getString(2);
|
||||
mCombinedPrefix = null;
|
||||
if (K9.DEBUG)
|
||||
Log.d(K9.LOG_TAG, "Got path delimeter '" + mPathDelimeter + "' for " + getLogId());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user