mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-03-16 01:33:43 +08: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);
|
||||
}
|
||||
['from','to'].forEach(name => {
|
||||
if (struct.headers[name]) {
|
||||
if (struct.headers[name] && !message[name].length) {
|
||||
let mail = new EmailModel;
|
||||
mail.parse(struct.headers[name].value);
|
||||
message[name].push(mail);
|
||||
|
|
Loading…
Reference in a new issue