connected session only websocket.

This commit is contained in:
Miroslav Šedivý 2020-11-30 22:28:13 +01:00
parent b194f8034a
commit 21293256ed

View File

@ -41,7 +41,7 @@ func (session *SessionCtx) VerifySecret(secret string) bool {
func (session *SessionCtx) Connected() bool {
// TODO: Refactor.
return session.websocket_connected && session.webrtc_connected
return session.websocket_connected// && session.webrtc_connected
}
func (session *SessionCtx) SetWebSocketPeer(websocket_peer types.WebSocketPeer) {