From 11629bb6cb728904436a1c2f1240f1594881aad6 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 25 Oct 2020 04:32:44 +0200 Subject: [PATCH] Fix thread info header rendering in logs --- src/data/threads.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/threads.js b/src/data/threads.js index 240fd12..e30a76f 100644 --- a/src/data/threads.js +++ b/src/data/threads.js @@ -253,8 +253,7 @@ async function createNewThreadForUser(user, opts = {}) { infoHeader += "\n────────────────"; - await newThread.postSystemMessage({ - content: infoHeader, + await newThread.postSystemMessage(infoHeader, { allowedMentions: config.mentionUserInThreadHeader ? { users: [user.id] } : undefined, });