Also use special LIST path in ImapResponseParser for LSUB response

This commit is contained in:
cketti 2016-02-03 20:16:43 +01:00
parent d0f4ab84fc
commit d9797d02bf

View file

@ -132,7 +132,7 @@ class ImapResponseParser {
if (isStatusResponse(firstToken)) {
parseResponseText(response);
} else if (equalsIgnoreCase(firstToken, Responses.LIST)) {
} else if (equalsIgnoreCase(firstToken, Responses.LIST) || equalsIgnoreCase(firstToken, Responses.LSUB)) {
parseListResponse(response);
} else {
Object token;