feat(messages): add whatsapp messagePrefix and responsePrefix auto
This commit is contained in:
@@ -69,7 +69,9 @@ export async function routeReply(
|
||||
cfg,
|
||||
resolveAgentIdFromSessionKey(params.sessionKey),
|
||||
).responsePrefix
|
||||
: cfg.messages?.responsePrefix;
|
||||
: cfg.messages?.responsePrefix === "auto"
|
||||
? undefined
|
||||
: cfg.messages?.responsePrefix;
|
||||
const normalized = normalizeReplyPayload(payload, {
|
||||
responsePrefix,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user