This commit is contained in:
2023-08-24 17:00:11 +03:00
parent 3ca5f61221
commit b0de8e9159

View File

@@ -1,6 +1,10 @@
function sendMessageSocket (data) {
if (chatSocket.readyState !== 1 || chatSocket.readyState !== 0){
init_ws()
}
chatSocket.send(JSON.stringify(data));
if (!data.ticket_id){
let el_tab = document.querySelector(".tab_user_messanger.select")