Merge pull request #66 from tholdawa/master

Fix IMAPMessage::processFetchResponse bad_field_value_type for Cc and Bcc fields
This commit is contained in:
Vincent Richard 2014-01-22 13:21:33 -08:00
commit 64ffcdb456

View File

@ -460,14 +460,14 @@ int IMAPMessage::processFetchResponse
IMAPUtils::convertAddressList(*(env->env_cc()), cc);
if (!cc.isEmpty())
hdr->Cc()->setValue(cc);
hdr->Cc()->setValue(cc.toAddressList());
// Bcc
mailboxList bcc;
IMAPUtils::convertAddressList(*(env->env_bcc()), bcc);
if (!bcc.isEmpty())
hdr->Bcc()->setValue(bcc);
hdr->Bcc()->setValue(bcc.toAddressList());
}
break;