Merge pull request #239 from kisli/laurent-richard-fix-message-flag-set
Fix message flag assignment with FLAG_MODE_SET.
This commit is contained in:
commit
0f99387648
@ -1061,7 +1061,7 @@ void IMAPFolder::setMessageFlags(
|
||||
|
||||
const std::vector <string> flagList = IMAPUtils::messageFlagList(flags);
|
||||
|
||||
if (!flagList.empty()) {
|
||||
if ((mode == message::FLAG_MODE_SET) || !flagList.empty()) {
|
||||
|
||||
// Send the request
|
||||
IMAPCommand::STORE(msgs, mode, flagList)->send(m_connection);
|
||||
|
Loading…
Reference in New Issue
Block a user