We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dd3094 commit a5c2ebdCopy full SHA for a5c2ebd
src/conversations.jxa.js
@@ -258,7 +258,7 @@ function run(argv) {
258
} message ${chat_platform} ${chat_id} hidden">${
259
is_attachment
260
? '<i>Media Attachment</i>'
261
- : message_body.replace(/\\n/g, '<br>')
+ : (message_body ?? '').replace(/\\n/g, '<br>')
262
}</div>`,
263
'',
264
);
0 commit comments