patch
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
diff --git a/node_modules/medooze-spacebar-wrtc/src/MedoozeSignalingDelegate.ts b/node_modules/medooze-spacebar-wrtc/src/MedoozeSignalingDelegate.ts
|
||||
index 76213eb..1cca6ef 100644
|
||||
--- a/node_modules/medooze-spacebar-wrtc/src/MedoozeSignalingDelegate.ts
|
||||
+++ b/node_modules/medooze-spacebar-wrtc/src/MedoozeSignalingDelegate.ts
|
||||
@@ -40,11 +40,9 @@ export class MedoozeSignalingDelegate implements SignalingDelegate {
|
||||
): Promise<WebRtcClient<any>> {
|
||||
// if this is guild-voice or dm-voice, make sure user isn't already in a room of those types
|
||||
// user can be in many simultanous go live stream rooms though (can be in a voice channel and watching a stream for example, or watching multiple streams)
|
||||
- const rooms = type === "stream" ? [] : this.rooms
|
||||
- .values()
|
||||
- .filter((room) =>
|
||||
- room.type === "dm-voice" || room.type === "guild-voice",
|
||||
- );
|
||||
+ const rooms = type === "stream" ? [] : Array.from(this.rooms.values()).filter((room) =>
|
||||
+ room.type === "dm-voice" || room.type === "guild-voice"
|
||||
+ );
|
||||
let existingClient;
|
||||
|
||||
for (const room of rooms) {
|
||||
Reference in New Issue
Block a user