mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add group member defs peeking
This commit is contained in:
@@ -80,7 +80,7 @@ async function moduleWorker() {
|
||||
const context = getContext();
|
||||
|
||||
// non-characters not supported
|
||||
if (!context.groupId && !context.characterId) {
|
||||
if (!context.groupId && context.characterId === undefined) {
|
||||
removeExpression();
|
||||
return;
|
||||
}
|
||||
|
@@ -66,7 +66,7 @@ function loadSettings() {
|
||||
async function moduleWorker() {
|
||||
const context = getContext();
|
||||
|
||||
if (!context.groupId && !context.characterId) {
|
||||
if (!context.groupId && context.characterId === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -133,7 +133,7 @@ async function moduleWorker() {
|
||||
const chat = context.chat;
|
||||
|
||||
// no characters or group selected
|
||||
if (!context.groupId && !context.characterId) {
|
||||
if (!context.groupId && context.characterId === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -37,7 +37,7 @@ async function moduleWorker() {
|
||||
updateUiAudioPlayState()
|
||||
|
||||
// no characters or group selected
|
||||
if (!context.groupId && !context.characterId) {
|
||||
if (!context.groupId && context.characterId === undefined) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user