mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix copy-paste issue
This commit is contained in:
@ -3813,7 +3813,7 @@ function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!power_user.allow_name2_display) {
|
if (!power_user.allow_name2_display) {
|
||||||
mes = mes.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1");
|
getMessage = getMessage.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isImpersonate) {
|
if (isImpersonate) {
|
||||||
|
Reference in New Issue
Block a user