Fix attachments missing from logs

cshd
Dragory 2020-10-27 18:11:31 +02:00
parent b2e473de5a
commit c761802ddd
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 5 additions and 0 deletions

View File

@ -286,6 +286,11 @@ const defaultFormatters = {
line += ` [${message.user_name}] ${message.body}`;
}
if (message.attachments.length) {
line += "\n\n";
line += message.attachments.join("\n");
}
return line;
});