mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Small fix for changes of #248
This commit is contained in:
parent
143cef5ffb
commit
e590576247
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export function MimeToMessage(data, message)
|
||||||
message.subject(struct.headers.subject.value);
|
message.subject(struct.headers.subject.value);
|
||||||
}
|
}
|
||||||
['from','to'].forEach(name => {
|
['from','to'].forEach(name => {
|
||||||
if (struct.headers[name]) {
|
if (struct.headers[name] && !message[name].length) {
|
||||||
let mail = new EmailModel;
|
let mail = new EmailModel;
|
||||||
mail.parse(struct.headers[name].value);
|
mail.parse(struct.headers[name].value);
|
||||||
message[name].push(mail);
|
message[name].push(mail);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue