diff options
Diffstat (limited to 'pirc.js')
| -rw-r--r-- | pirc.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,4 +1,4 @@ -// PiRC extension 0.1.9-dev+69800ee67711. Third-party code in this file: @bufbuild/protobuf@2.16.0, ws@8.22.0; see NOTICE. +// PiRC extension 0.1.9-dev+0125f06be03c. Third-party code in this file: @bufbuild/protobuf@2.16.0, ws@8.22.0; see NOTICE. import { createRequire as __pircCreateRequire } from "node:module"; const require = __pircCreateRequire(import.meta.url); var __create = Object.create; @@ -8616,9 +8616,11 @@ var Host = class _Host { if (!c?.relay) lines.push("enrol with: /pirc enrol <relay-url> [token]; without a token, the relay's operator approves this key"); return lines.join("\n"); } + // The footer shows only what needs attention: online, the usual state, + // takes no line. showStatus() { try { - this.live?.ctx.ui.setStatus("pirc", this.statusText()); + this.live?.ctx.ui.setStatus("pirc", this.state.kind === "ready" && this.config?.relay ? void 0 : this.statusText()); } catch { } } @@ -8717,7 +8719,7 @@ function requestIdOf(m) { } // extension/src/index.ts -var EXTENSION_VERSION = true ? "0.1.9-dev+69800ee67711" : "dev"; +var EXTENSION_VERSION = true ? "0.1.9-dev+0125f06be03c" : "dev"; function piVersion() { try { let dir = dirname3(realpathSync(process.argv[1])); @@ -8732,7 +8734,7 @@ function piVersion() { } return "unknown"; } -var LOAD = true ? "0.1.9-dev+69800ee67711" : `dev ${randomBytes3(4).toString("hex")}`; +var LOAD = true ? "0.1.9-dev+0125f06be03c" : `dev ${randomBytes3(4).toString("hex")}`; var KEY = /* @__PURE__ */ Symbol.for("pirc.extension"); var proc = globalThis[KEY] ??= {}; if (!proc.host || proc.load !== LOAD) { |
