Skip to content

Commit

Permalink
Add uidplus, acl, enable capabilities parsing (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
S2Ler authored and dinhvh committed Jun 18, 2018
1 parent 6e035e8 commit aa6ac2a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/imap/MCIMAPSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4212,6 +4212,15 @@ void IMAPSession::capabilitySetWithSessionState(IndexSet * capabilities)
if (mailimap_has_extension(mImap, (char *)"XYMHIGHESTMODSEQ")) {
capabilities->addIndex(IMAPCapabilityXYMHighestModseq);
}
if (mailimap_has_uidplus(mImap)) {
capabilities->addIndex(IMAPCapabilityUIDPlus);
}
if (mailimap_has_acl(mImap)) {
capabilities->addIndex(IMAPCapabilityACL);
}
if (mailimap_has_enable(mImap)) {
capabilities->addIndex(IMAPCapabilityEnable);
}
applyCapabilities(capabilities);
}

Expand Down

0 comments on commit aa6ac2a

Please sign in to comment.