@ai-matrx/meet 0.11.52 → 0.11.54

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.
@@ -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
  }