mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-14 08:53:03 -06:00
Fix websocket being closed by the server when it shouldn't
This commit is contained in:
parent
707d07ab80
commit
66c2b270e0
|
|
@ -436,7 +436,7 @@ class Controller {
|
|||
}
|
||||
|
||||
socket.liveFeed = (call) => {
|
||||
if (socket.isAlive) {
|
||||
if (socket.readyState !== 3) {
|
||||
if (call.system in socket.scope && call.system in message[1]) {
|
||||
if (socket.scope[call.system].includes(call.talkgroup)) {
|
||||
if (message[1][call.system] && message[1][call.system][call.talkgroup]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue