mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 14:50:48 +00:00
fix(whatsapp): remove ack reactions after replies
This commit is contained in:
@@ -33,7 +33,12 @@ import {
|
||||
} from "../../auto-reply/reply/mentions.js";
|
||||
import { dispatchReplyWithBufferedBlockDispatcher } from "../../auto-reply/reply/provider-dispatcher.js";
|
||||
import { createReplyDispatcherWithTyping } from "../../auto-reply/reply/reply-dispatcher.js";
|
||||
import { removeAckReactionAfterReply, shouldAckReaction } from "../../channels/ack-reactions.js";
|
||||
import {
|
||||
createAckReactionHandle,
|
||||
removeAckReactionAfterReply,
|
||||
removeAckReactionHandleAfterReply,
|
||||
shouldAckReaction,
|
||||
} from "../../channels/ack-reactions.js";
|
||||
import { resolveCommandAuthorizedFromAuthorizers } from "../../channels/command-gating.js";
|
||||
import {
|
||||
implicitMentionKindWhen,
|
||||
@@ -232,8 +237,10 @@ export function createRuntimeChannel(): PluginRuntime["channel"] {
|
||||
resolveInboundMentionDecision,
|
||||
},
|
||||
reactions: {
|
||||
createAckReactionHandle,
|
||||
shouldAckReaction,
|
||||
removeAckReactionAfterReply,
|
||||
removeAckReactionHandleAfterReply,
|
||||
},
|
||||
groups: {
|
||||
resolveGroupPolicy: resolveChannelGroupPolicy,
|
||||
|
||||
@@ -128,8 +128,10 @@ export type PluginRuntimeChannel = {
|
||||
resolveInboundMentionDecision: typeof import("../../channels/mention-gating.js").resolveInboundMentionDecision;
|
||||
};
|
||||
reactions: {
|
||||
createAckReactionHandle: typeof import("../../channels/ack-reactions.js").createAckReactionHandle;
|
||||
shouldAckReaction: typeof import("../../channels/ack-reactions.js").shouldAckReaction;
|
||||
removeAckReactionAfterReply: typeof import("../../channels/ack-reactions.js").removeAckReactionAfterReply;
|
||||
removeAckReactionHandleAfterReply: typeof import("../../channels/ack-reactions.js").removeAckReactionHandleAfterReply;
|
||||
};
|
||||
groups: {
|
||||
resolveGroupPolicy: typeof import("../../config/group-policy.js").resolveChannelGroupPolicy;
|
||||
|
||||
Reference in New Issue
Block a user