[fix] group chat activation & talkness

This commit is contained in:
kwaroran
2023-05-31 08:33:49 +09:00
parent e4d956d0d6
commit 22c646ae5d
2 changed files with 7 additions and 3 deletions

View File

@@ -79,6 +79,8 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
talkness: nowChatroom.characterActive[i] ? nowChatroom.characterTalks[i] : -1,
index: i
}
}).filter((v) => {
return v.talkness > 0
})
if(!nowChatroom.orderByOrder){
order = groupOrder(order, lastMessage?.data).filter((v) => {