@reactoo/watchtogether-sdk-js 2.6.65 → 2.6.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/modules/wt-room.js
CHANGED
|
@@ -1425,7 +1425,7 @@ class RoomSession {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
_getHandle(handleId, rfid = null, userId = null) {
|
|
1428
|
-
return this._participants.find(p => p.handleId === handleId || (rfid && p.rfid === rfid) || (userId && p.userId === userId));
|
|
1428
|
+
return this._participants.find(p => p.handleId === handleId || (rfid && p.rfid === rfid) || (userId && decodeJanusDisplay(p.userId)?.userId === userId));
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
_getStats(type = null) {
|
|
@@ -2473,6 +2473,7 @@ class RoomSession {
|
|
|
2473
2473
|
}
|
|
2474
2474
|
catch(e) {}
|
|
2475
2475
|
}
|
|
2476
|
+
return acc;
|
|
2476
2477
|
}, []);
|
|
2477
2478
|
}
|
|
2478
2479
|
return talkIntercomChannels;
|