about summary refs log tree commit diff
path: root/assets/src/network/channel/connection.ts
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-06-04 19:42:42 +0200
committerMelonai <einebeere@gmail.com>2021-06-04 19:42:42 +0200
commitc575119a90a028dd109434a4b8889adceac3df93 (patch)
treec20da8d479c2acae031b13fa23d2b0aed25a5d9b /assets/src/network/channel/connection.ts
parente6a567090d5e14605e6d4722fc51d7c56b9410ee (diff)
downloadrook-c575119a90a028dd109434a4b8889adceac3df93.tar.zst
rook-c575119a90a028dd109434a4b8889adceac3df93.zip
Signaling event processing
Diffstat (limited to 'assets/src/network/channel/connection.ts')
-rw-r--r--assets/src/network/channel/connection.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/src/network/channel/connection.ts b/assets/src/network/channel/connection.ts
index 59eb633..e1ed2d1 100644
--- a/assets/src/network/channel/connection.ts
+++ b/assets/src/network/channel/connection.ts
@@ -54,6 +54,8 @@ export async function start(type: Type.REQUEST | Type.SHARE) {
     type === Type.SHARE
         ? await startShare(connection)
         : await startRequest(connection);
+
+    updateState(ConnectionState.CONNECTED)
 }
 
 export function send(event: string, data: any): Push {