Update conversations.php
This commit is contained in:
+3
-3
@@ -835,7 +835,7 @@ if (!isset($_SESSION['user_id'])) {
|
|||||||
<div>
|
<div>
|
||||||
<h5 class="mb-0">💬 Conversaciones
|
<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;">
|
<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>
|
</span>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
@@ -1069,7 +1069,7 @@ if (!isset($_SESSION['user_id'])) {
|
|||||||
|
|
||||||
class WhatsAppChat {
|
class WhatsAppChat {
|
||||||
constructor() {
|
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.currentConversationId = null;
|
||||||
this.currentUserId = null;
|
this.currentUserId = null;
|
||||||
this.conversations = []; // Lista de usuarios/conversaciones en el sidebar
|
this.conversations = []; // Lista de usuarios/conversaciones en el sidebar
|
||||||
@@ -1126,7 +1126,7 @@ if (!isset($_SESSION['user_id'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
console.log('🎯 Iniciando WhatsAppChat v1.2.0...');
|
console.log('🎯 Iniciando WhatsAppChat v1.3.0...');
|
||||||
this.loadConversations();
|
this.loadConversations();
|
||||||
this.setupEventListeners();
|
this.setupEventListeners();
|
||||||
this.setupAutoRefresh();
|
this.setupAutoRefresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user