post: fix crash when using -enable-mentions

This commit is contained in:
Dragory 2020-08-01 12:43:11 +03:00
parent bd5cb6f556
commit f882879d7c
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -47,6 +47,7 @@ export async function postMessage(
}
}
content.allowedMentions = content.allowedMentions || {};
content.allowedMentions.everyone = false;
}