diff --git a/functions/channelCapture/captureChannelWithBot.protected.ts b/functions/channelCapture/captureChannelWithBot.protected.ts index b068a217..17cc3458 100644 --- a/functions/channelCapture/captureChannelWithBot.protected.ts +++ b/functions/channelCapture/captureChannelWithBot.protected.ts @@ -71,7 +71,7 @@ export const handler = async ( const isConversation = (typeof isConversationValue === 'string' && isConversationValue === 'true') || - Boolean(isConversationValue); + (typeof isConversationValue === 'boolean' && isConversationValue); const handlerPath = Runtime.getFunctions()['channelCapture/channelCaptureHandlers'].path; const channelCaptureHandlers = require(handlerPath) as ChannelCaptureHandlers;