@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.js
CHANGED
|
@@ -328,6 +328,7 @@ function minutesLeft(policy, startedAtMs, nowMs) {
|
|
|
328
328
|
function mayAdmitNow(role, participants, policy) {
|
|
329
329
|
if (role === "none") return false;
|
|
330
330
|
if (role === "host" || role === "cohost") return true;
|
|
331
|
+
if (role === "viewer") return false;
|
|
331
332
|
const hostIn = participants.some((p) => p.role === "host" || p.role === "cohost");
|
|
332
333
|
return !hostIn && policy.headlessPowers === "members_admit";
|
|
333
334
|
}
|