fix(whatsapp): remove ack reactions after replies

This commit is contained in:
Peter Steinberger
2026-04-26 05:35:24 +01:00
parent 427e485f76
commit 9b93b7df62
16 changed files with 329 additions and 32 deletions

View File

@@ -1,6 +1,8 @@
import { vi } from "vitest";
import {
createAckReactionHandle,
removeAckReactionAfterReply,
removeAckReactionHandleAfterReply,
shouldAckReaction,
} from "../../../src/channels/ack-reactions.js";
import {
@@ -305,8 +307,10 @@ export function createPluginRuntimeMock(overrides: DeepPartial<PluginRuntime> =
resolveInboundMentionDecision,
},
reactions: {
createAckReactionHandle,
shouldAckReaction,
removeAckReactionAfterReply,
removeAckReactionHandleAfterReply,
},
groups: {
resolveGroupPolicy: vi.fn(