@ai-matrx/meet 0.11.27 → 0.11.28

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.
@@ -4800,7 +4800,7 @@ function ExitScreen({ onLeave }) {
4800
4800
  if (phase.startsWith("refused:")) {
4801
4801
  const code = phase.slice("refused:".length);
4802
4802
  title = REFUSED_TITLES[code] ?? "You can't join this meeting";
4803
- line = failure?.remedy ?? null;
4803
+ line = code === "too_early" || code === "registration_required" || code === "cancelled" ? failure?.remedy ?? null : null;
4804
4804
  actionsNode = /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
4805
4805
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_design_system.Button, { type: "button", variant: "outline", onClick: actions.retry, children: "Try again" }),
4806
4806
  home
@@ -4850,6 +4850,10 @@ function ExitScreen({ onLeave }) {
4850
4850
  case "ended":
4851
4851
  case "record":
4852
4852
  title = reason === "time_limit" ? "The meeting reached its time limit" : "The meeting has ended";
4853
+ if (failure?.reason === "ended" && failure.remedy.length > 0 && failure.message.startsWith("This run")) {
4854
+ title = failure.message.replace(/\.$/, "");
4855
+ line = failure.remedy;
4856
+ }
4853
4857
  notice = "meeting-ended";
4854
4858
  break;
4855
4859
  default: