This commit is contained in:
Juha Jeronen 2024-01-08 00:47:18 +02:00
parent 3f3e68c492
commit 1184ea2c3b
1 changed files with 4 additions and 2 deletions

View File

@ -569,9 +569,11 @@ async function moduleWorker() {
return;
}
const lastMessageChanged = !((lastCharacter === context.characterId || lastCharacter === context.groupId)
&& lastMessage === currentLastMessage.mes);
// check if last message changed
if ((lastCharacter === context.characterId || lastCharacter === context.groupId)
&& lastMessage === currentLastMessage.mes) {
if (!lastMessageChanged) {
return;
}