Version 0.7.2f - Fix des utilisateurs
This commit is contained in:
1 parent
a0e425d286
commit
fc875be72a
2 files changed
+7
-2
No files matched your search
@@ -359,7 +359,7 @@ function IOConnection(io) {
|
||||
|
||||
const users_data = auth.getUsers()
|
||||
|
||||
socket.emit("ALWAYS/USERS", users_data)
|
||||
io.sockets.emit("ALWAYS/USERS", users_data)
|
||||
}
|
||||
|
||||
} else {
|
||||
@@ -392,7 +392,7 @@ function IOConnection(io) {
|
||||
|
||||
const users_data = auth.getUsers()
|
||||
|
||||
socket.emit("ALWAYS/USERS", users_data)
|
||||
io.sockets.emit("ALWAYS/USERS", users_data)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -174,6 +174,7 @@ socket.on("ALWAYS/USERS",(data) => {
|
||||
|
||||
const settings_content = document.getElementById("settings_content")
|
||||
|
||||
if(settings_content) {
|
||||
|
||||
var userToPush = new Array()
|
||||
|
||||
@@ -229,6 +230,10 @@ socket.on("ALWAYS/USERS",(data) => {
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
Reference in new issue
Block a user