Update conversations.php

This commit is contained in:
Lizandro Guarnizo
2026-02-03 21:39:25 -05:00
parent 3139c7af00
commit 0297137b55
+3 -3
View File
@@ -835,7 +835,7 @@ if (!isset($_SESSION['user_id'])) {
<div>
<h5 class="mb-0">💬 Conversaciones
<span class="badge bg-warning text-dark ms-2" style="font-size: 9px; padding: 2px 6px; animation: pulse 2s infinite;">
v1.2.2-<?php echo substr(time(), -4); ?>
v1.3.0-<?php echo substr(time(), -4); ?>
</span>
</h5>
</div>
@@ -1069,7 +1069,7 @@ if (!isset($_SESSION['user_id'])) {
class WhatsAppChat {
constructor() {
console.log('%c✅ WhatsAppChat v1.2.0 - Constructor iniciado', 'background: #10b981; color: white; padding: 4px 8px; font-weight: bold; border-radius: 3px;');
console.log('%c✅ WhatsAppChat v1.3.0 - Constructor iniciado', 'background: #10b981; color: white; padding: 4px 8px; font-weight: bold; border-radius: 3px;');
this.currentConversationId = null;
this.currentUserId = null;
this.conversations = []; // Lista de usuarios/conversaciones en el sidebar
@@ -1126,7 +1126,7 @@ if (!isset($_SESSION['user_id'])) {
}
init() {
console.log('🎯 Iniciando WhatsAppChat v1.2.0...');
console.log('🎯 Iniciando WhatsAppChat v1.3.0...');
this.loadConversations();
this.setupEventListeners();
this.setupAutoRefresh();