Update conversations.php
This commit is contained in:
+2
-1
@@ -2133,7 +2133,8 @@
|
||||
attendStatus.textContent = `Atendido por ${c.in_service_by_name || 'un asesor'}`;
|
||||
// show status message in chat
|
||||
try { this.showStatusMessageInChat(userId, 'Un asesor te está atendiendo'); } catch(e){/* ignore */}
|
||||
} else if (s.advisor_requested) {
|
||||
} else if ( (s.advisor_requested) || (c && c.advisor_requested) ) {
|
||||
// Show Atender if either server reports a request OR local conversation record has it
|
||||
attendToggleBtn.innerHTML = '<i class="fas fa-user-check"></i> Atender';
|
||||
attendToggleBtn.classList.remove('btn-light','text-dark');
|
||||
attendToggleBtn.classList.add('btn-outline-light');
|
||||
|
||||
Reference in New Issue
Block a user