Add group member defs peeking

This commit is contained in:
SillyLossy
2023-05-01 19:39:18 +03:00
parent 5144ae2220
commit 6f47b07063
9 changed files with 148 additions and 130 deletions

View File

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

View File

@@ -66,7 +66,7 @@ function loadSettings() {
async function moduleWorker() {
const context = getContext();
if (!context.groupId && !context.characterId) {
if (!context.groupId && context.characterId === undefined) {
return;
}

View File

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

View File

@@ -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
}