From 42967de2b24da65b8556729fb764d651bcbe083a Mon Sep 17 00:00:00 2001 From: Flamenco Date: Wed, 14 Jun 2023 12:38:38 -0400 Subject: [PATCH] Fix type in documentation --- src/y-webrtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/y-webrtc.js b/src/y-webrtc.js index af4604d..ec60230 100644 --- a/src/y-webrtc.js +++ b/src/y-webrtc.js @@ -263,7 +263,7 @@ const broadcastRoomMessage = (room, m) => { */ const announceSignalingInfo = room => { signalingConns.forEach(conn => { - // only subcribe if connection is established, otherwise the conn automatically subscribes to all rooms + // only subscribe if connection is established, otherwise the conn automatically subscribes to all rooms if (conn.connected) { conn.send({ type: 'subscribe', topics: [room.name] }) if (room.webrtcConns.size < room.provider.maxConns) {