Commit dc3f4040 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Status API now defaults to appearing offline immediately after connecting.

parent c66891df
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -43,9 +43,9 @@ func NewSocketWsAcceptor(logger *zap.Logger, config Config, sessionRegistry *Ses
			return
		}

		status := true
		if r.URL.Query().Get("status") == "false" {
			status = false
		status := false
		if r.URL.Query().Get("status") == "true" {
			status = true
		}

		// Upgrade to WebSocket.