Suspend macros in first message

This commit is contained in:
Cohee 2024-08-18 00:27:10 +03:00
parent 961878c341
commit 378f4b5ed4

View File

@ -1880,6 +1880,7 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId) {
if (Number(messageId) === 0 && !isSystem && !isUser) {
mes = substituteParams(mes, undefined, ch_name);
chat[messageId] && (chat[messageId].mes = mes);
}
mesForShowdownParse = mes;