email-forward-parser 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/parser.js +5 -0
- package/package.json +1 -1
package/lib/parser.js
CHANGED
|
@@ -570,6 +570,11 @@ class Parser {
|
|
|
570
570
|
return _author;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
|
+
// Multiple authors found?
|
|
574
|
+
if (Array.isArray(_author) && _author[0].address) {
|
|
575
|
+
return _author[0];
|
|
576
|
+
}
|
|
577
|
+
|
|
573
578
|
// Second method: extract the author via the separator (Outlook 2019)
|
|
574
579
|
var _match = loopRegexes(this.__regexes.separator_with_information, body);
|
|
575
580
|
|