mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
connected session only websocket.
This commit is contained in:
parent
b194f8034a
commit
21293256ed
@ -41,7 +41,7 @@ func (session *SessionCtx) VerifySecret(secret string) bool {
|
|||||||
|
|
||||||
func (session *SessionCtx) Connected() bool {
|
func (session *SessionCtx) Connected() bool {
|
||||||
// TODO: Refactor.
|
// TODO: Refactor.
|
||||||
return session.websocket_connected && session.webrtc_connected
|
return session.websocket_connected// && session.webrtc_connected
|
||||||
}
|
}
|
||||||
|
|
||||||
func (session *SessionCtx) SetWebSocketPeer(websocket_peer types.WebSocketPeer) {
|
func (session *SessionCtx) SetWebSocketPeer(websocket_peer types.WebSocketPeer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user