refactor: reuse ack reaction helper for whatsapp

This commit is contained in:
Peter Steinberger
2026-01-23 22:20:28 +00:00
parent 02bd6e4a24
commit 892197c43e
4 changed files with 141 additions and 23 deletions

View File

@@ -117,8 +117,12 @@ export {
resolveMentionGating,
resolveMentionGatingWithBypass,
} from "../channels/mention-gating.js";
export type { AckReactionGateParams, AckReactionScope } from "../channels/ack-reactions.js";
export { shouldAckReaction } from "../channels/ack-reactions.js";
export type {
AckReactionGateParams,
AckReactionScope,
WhatsAppAckReactionMode,
} from "../channels/ack-reactions.js";
export { shouldAckReaction, shouldAckReactionForWhatsApp } from "../channels/ack-reactions.js";
export { resolveChannelMediaMaxBytes } from "../channels/plugins/media-limits.js";
export type { NormalizedLocation } from "../channels/location.js";
export { formatLocationText, toLocationContext } from "../channels/location.js";