mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-04 01:09:27 +02:00
connected session only websocket.
This commit is contained in:
parent
b194f8034a
commit
21293256ed
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue