aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--pirc.js10
2 files changed, 7 insertions, 5 deletions
diff --git a/package.json b/package.json
index 1b03009..305f72b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "pirc-extension",
- "version": "0.1.9-dev+69800ee67711",
+ "version": "0.1.9-dev+0125f06be03c",
"description": "PiRC: puts every interactive pi session on a PiRC relay",
"license": "MIT",
"homepage": "https://pirc.dev",
diff --git a/pirc.js b/pirc.js
index be18709..5bd4d63 100644
--- a/pirc.js
+++ b/pirc.js
@@ -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) {