Add thread number to logs

cshd
Dragory 2020-11-01 23:28:05 +02:00
parent 69418c2562
commit ab501871ec
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ const defaultFormatters = {
}); });
const openedAt = moment(thread.created_at).format("YYYY-MM-DD HH:mm:ss"); const openedAt = moment(thread.created_at).format("YYYY-MM-DD HH:mm:ss");
const header = `# Modmail thread with ${thread.user_name} (${thread.user_id}) started at ${openedAt}. All times are in UTC+0.`; const header = `# Modmail thread #${thread.thread_number} with ${thread.user_name} (${thread.user_id}) started at ${openedAt}. All times are in UTC+0.`;
const fullResult = header + "\n\n" + lines.join("\n"); const fullResult = header + "\n\n" + lines.join("\n");