diff options
author | Viktor Gedzenko <foxinushka@gmail.com> | 2014-07-22 18:07:04 +0300 |
---|---|---|
committer | Viktor Gedzenko <foxinushka@gmail.com> | 2014-07-22 18:07:04 +0300 |
commit | 53210fd4274bf950600ddbaafbf92f045b1bfa25 (patch) | |
tree | 447c5bc15c2bb0ea1d7a9efa8a2dcd2ed8aca041 /src/core/abstract | |
parent | 838542dbf75dbff3c67ca1157945a283406cc7ca (diff) |
Fixed addressWithIMAPAddress for drafts with bad address in to/cc/bcc fields
Diffstat (limited to 'src/core/abstract')
-rw-r--r-- | src/core/abstract/MCAddress.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/abstract/MCAddress.cc b/src/core/abstract/MCAddress.cc index ff840691..1ecf08ef 100644 --- a/src/core/abstract/MCAddress.cc +++ b/src/core/abstract/MCAddress.cc @@ -84,7 +84,7 @@ Address * Address::addressWithIMAPAddress(struct mailimap_address * imap_addr) else { addr = imap_addr->ad_mailbox_name; } - mailbox = String::stringWithUTF8Characters(addr); + mailbox = String::stringByDecodingMIMEHeaderValue(addr); if (mailbox == NULL) { mailbox = MCSTR(""); } |