Merge pull request #66 from tholdawa/master
Fix IMAPMessage::processFetchResponse bad_field_value_type for Cc and Bcc fields
This commit is contained in:
commit
64ffcdb456
@ -460,14 +460,14 @@ int IMAPMessage::processFetchResponse
|
|||||||
IMAPUtils::convertAddressList(*(env->env_cc()), cc);
|
IMAPUtils::convertAddressList(*(env->env_cc()), cc);
|
||||||
|
|
||||||
if (!cc.isEmpty())
|
if (!cc.isEmpty())
|
||||||
hdr->Cc()->setValue(cc);
|
hdr->Cc()->setValue(cc.toAddressList());
|
||||||
|
|
||||||
// Bcc
|
// Bcc
|
||||||
mailboxList bcc;
|
mailboxList bcc;
|
||||||
IMAPUtils::convertAddressList(*(env->env_bcc()), bcc);
|
IMAPUtils::convertAddressList(*(env->env_bcc()), bcc);
|
||||||
|
|
||||||
if (!bcc.isEmpty())
|
if (!bcc.isEmpty())
|
||||||
hdr->Bcc()->setValue(bcc);
|
hdr->Bcc()->setValue(bcc.toAddressList());
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user