mirror of https://github.com/eleith/emailjs.git
Compare commits
2 Commits
e786031372
...
9526eeb667
Author | SHA1 | Date |
---|---|---|
ritschwumm | 9526eeb667 | |
ritschwumm | 2cb897238c |
|
@ -130,7 +130,7 @@ function convertAddressTokens(tokens: AddressToken[]) {
|
|||
// http://tools.ietf.org/html/rfc2822#appendix-A.1.3
|
||||
if (isGroup) {
|
||||
addressObjects.push({
|
||||
name: texts.length === 0 ? undefined : texts.join(' '),
|
||||
...(texts.length === 0 ? {} : { name: texts.join(' ') }),
|
||||
group: groups.length > 0 ? addressparser(groups.join(',')) : [],
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue