Fix thread info header rendering in logs

cshd
Dragory 2020-10-25 04:32:44 +02:00
parent 012a819242
commit 11629bb6cb
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 2 deletions

View File

@ -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,
});