aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/abstract
diff options
context:
space:
mode:
authorGravatar Viktor Gedzenko <foxinushka@gmail.com>2014-07-22 18:07:04 +0300
committerGravatar Viktor Gedzenko <foxinushka@gmail.com>2014-07-22 18:07:04 +0300
commit53210fd4274bf950600ddbaafbf92f045b1bfa25 (patch)
tree447c5bc15c2bb0ea1d7a9efa8a2dcd2ed8aca041 /src/core/abstract
parent838542dbf75dbff3c67ca1157945a283406cc7ca (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.cc2
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("");
}