🐛 (whatsapp) Fix WA preview not starting and accept audio and documents messages
This commit is contained in:
@@ -445,7 +445,9 @@ const parseReply =
|
||||
return block.options?.isRequired ?? defaultFileInputOptions.isRequired
|
||||
? { status: 'fail' }
|
||||
: { status: 'skip' }
|
||||
return { status: 'success', reply: inputValue }
|
||||
const urls = inputValue.split(', ')
|
||||
const status = urls.some((url) => validateUrl(url)) ? 'success' : 'fail'
|
||||
return { status, reply: inputValue }
|
||||
}
|
||||
case InputBlockType.PAYMENT: {
|
||||
if (!inputValue) return { status: 'fail' }
|
||||
|
||||
Reference in New Issue
Block a user