- commit
- 9714c03e4c9363365c46f7819542b674e5e081e1
- parent
- 75e38774caaef02dbf6b77009c7aab757657f30c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-10-19 10:41
fix glodaMsg.attachmentInfos is undefined
Diffstat
| M | experiment-api/api.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/experiment-api/api.js b/experiment-api/api.js
@@ -67,7 +67,7 @@ var xi = class extends ExtensionCommon.ExtensionAPI {
67 67 return Object.assign({}, msg, {
68 68 body: glodaMsg._indexedBodyText,
69 69 canReplyToList: !!glodaMsg.mailingLists,
70 -1 attachmentInfos: glodaMsg.attachmentInfos.map(a => ({name: a.name, url: a.url})),
-1 70 attachmentInfos: (glodaMsg.attachmentInfos || []).map(a => ({name: a.name, url: a.url})),
71 71 });
72 72 };
73 73