Fix: Usar URL interna para debug webhook receiver (bypass authentik)
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m4s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m4s
This commit is contained in:
@@ -117,6 +117,7 @@
|
||||
:maxrows="5"
|
||||
class="bg-[var(--wa-bg-light)]"
|
||||
@keydown.enter.exact.prevent="handleSend"
|
||||
@input="emit('typing')"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -165,6 +166,8 @@ const emit = defineEmits<{
|
||||
send: [content: string, files: File[], caption: string, quotedId?: string]
|
||||
sendVoice: [audioFile: File]
|
||||
cancelReply: []
|
||||
typing: []
|
||||
recording: [isRecording: boolean]
|
||||
}>()
|
||||
|
||||
// Refs for file inputs
|
||||
@@ -266,18 +269,21 @@ const handleSend = () => {
|
||||
|
||||
const startRecording = async () => {
|
||||
const success = await startAudioRecording()
|
||||
if (!success) {
|
||||
// Show error toast
|
||||
if (success) {
|
||||
emit('recording', true)
|
||||
} else {
|
||||
console.error('Failed to start recording')
|
||||
}
|
||||
}
|
||||
|
||||
const cancelRecording = () => {
|
||||
cancelAudioRecording()
|
||||
emit('recording', false)
|
||||
}
|
||||
|
||||
const sendVoiceMessage = () => {
|
||||
stopRecording()
|
||||
emit('recording', false)
|
||||
|
||||
// Wait a bit for the blob to be ready
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user