Fixed use of old API (#287).
This commit is contained in:
parent
6fd4de8fb5
commit
a5623d695f
@ -710,7 +710,8 @@ const text emailAddress::toText() const {
|
|||||||
|
|
||||||
text txt;
|
text txt;
|
||||||
txt.appendWord(make_shared <vmime::word>(m_localName));
|
txt.appendWord(make_shared <vmime::word>(m_localName));
|
||||||
if (!m_domainName.empty()) {
|
|
||||||
|
if (!m_domainName.isEmpty()) {
|
||||||
// this should only be skipped if m_useMyHostname is false and an address without
|
// this should only be skipped if m_useMyHostname is false and an address without
|
||||||
// an `@` is encountered
|
// an `@` is encountered
|
||||||
txt.appendWord(make_shared <vmime::word>("@", vmime::charsets::US_ASCII));
|
txt.appendWord(make_shared <vmime::word>("@", vmime::charsets::US_ASCII));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user