@ai-matrx/meet 0.11.52 → 0.11.53
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/CHANGELOG.md +12 -0
- package/dist/core.cjs +15 -3
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +15 -3
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +15 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +15 -3
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +15 -3
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs +1 -0
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.js +1 -0
- package/dist/skins/meet.js.map +1 -1
- package/package.json +5 -5
package/dist/skins/meet.cjs
CHANGED
|
@@ -436,6 +436,7 @@ function minutesLeft(policy, startedAtMs, nowMs) {
|
|
|
436
436
|
function mayAdmitNow(role, participants, policy) {
|
|
437
437
|
if (role === "none") return false;
|
|
438
438
|
if (role === "host" || role === "cohost") return true;
|
|
439
|
+
if (role === "viewer") return false;
|
|
439
440
|
const hostIn = participants.some((p) => p.role === "host" || p.role === "cohost");
|
|
440
441
|
return !hostIn && policy.headlessPowers === "members_admit";
|
|
441
442
|
}
|