This commit is contained in:
Lizandro Guarnizo
2026-02-20 11:21:06 -05:00
parent c9ec58979e
commit 602e6d3724
11 changed files with 130 additions and 30 deletions
+1
View File
@@ -226,6 +226,7 @@ class WhatsAppWebhook {
$localThumb = null;
if (!empty($mediaUrl) && in_array($messageType, ['image', 'audio', 'video', 'document', 'sticker'])) {
try {
set_time_limit(180); // Tiempo extra para descargar media pesado
$mediaService = new MediaService();
$subdir = date('Y/m'); // Organizar por año/mes