update Di 30. Jun 21:31:01 CEST 2020
This commit is contained in:
parent
f3817e21c3
commit
77add7d525
@ -312,10 +312,12 @@ module.exports = function (io, sql, fs, brk, async, app_cfg) {
|
|||||||
if (socket_ids) {
|
if (socket_ids) {
|
||||||
socket_ids.forEach(function (row) {
|
socket_ids.forEach(function (row) {
|
||||||
var socket = io.of('/waip').connected[row.socket_id];
|
var socket = io.of('/waip').connected[row.socket_id];
|
||||||
socket.emit('io.standby', null);
|
if (typeof socket !== 'undefined') {
|
||||||
socket.emit('io.stopaudio', null);
|
socket.emit('io.standby', null);
|
||||||
sql.db_log('WAIP', 'Standby an Socket ' + socket.id + ' gesendet');
|
socket.emit('io.stopaudio', null);
|
||||||
sql.db_client_update_status(socket, null);
|
sql.db_log('WAIP', 'Standby an Socket ' + socket.id + ' gesendet');
|
||||||
|
sql.db_client_update_status(socket, null);
|
||||||
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user