diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-26 04:10:03 +0000 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-26 04:10:03 +0000 |
| commit | ad4ba9e8071dd8cb58f8e1e52850070a313a4689 (patch) | |
| tree | 9b9e450df51e9d6ff62b72eddd1b83ffe79e5e56 /pirc.js | |
| parent | 1062478e81a49f19537c2610d8f1b25e2054d6fa (diff) | |
pirc-extension 0.1.9-dev+0125f06be03c
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) { |
