eleven / messenger Public

server: unnamed spaces present as "Eleven", never "lchat" (#1351)

lchat is the binary/implementation name, not a public one. The compiled-in
default group name leaked it onto the PWA install icon, page titles, and the
admin console for any space not yet named.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Paul Campbell b8d7ce7c5f854216838ba8348bb1f2006d34314f parent a011cd5
3 files changed, +9 −4
  • changelog/2026-07-25-eleven-default-name.md +3 −0
  • db.go +4 −2
  • web/pages/admin.html +2 −2
diff --git a/changelog/2026-07-25-eleven-default-name.md b/changelog/2026-07-25-eleven-default-name.md
new file mode 100644
index 0000000..96a3708
--- /dev/null
+++ b/changelog/2026-07-25-eleven-default-name.md
@@ -0,0 +1,3 @@
+๐Ÿค– A space that hasn't been named yet now presents itself as "Eleven" โ€” on the
+app-install icon, the page title, and the admin console โ€” instead of an
+internal codename.
diff --git a/db.go b/db.go
index 9991713..3e92bee 100644
--- a/db.go
+++ b/db.go
@@ -18,8 +18,10 @@ import (
_ "modernc.org/sqlite"
)
-// defaultGroupName is used until an admin sets one.
-const defaultGroupName = "lchat"
+// defaultGroupName is used until an admin sets one. "lchat" is the
+// implementation name, never a public one โ€” an unnamed space presents as the
+// product, Eleven (PWA install name, page title, native add-chat screens).
+const defaultGroupName = "Eleven"
// getGroupName returns the chat's display name (used as the PWA/app name, page
// title, and chat header), falling back to a default until an admin sets one.
diff --git a/web/pages/admin.html b/web/pages/admin.html
index 25347d7..f0b4181 100644
--- a/web/pages/admin.html
+++ b/web/pages/admin.html
@@ -1,6 +1,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
-<title>lchat ยท admin</title>
+<title>__GROUP_NAME__ ยท admin</title>
<link rel="stylesheet" href="/static/style.css" />
<!-- Apply the saved theme before first paint (see web/static/ui.js โ€” the canonical
@@ -20,7 +20,7 @@
</script>
<div class="admin" id="admin">
- <h1>lchat admin</h1>
+ <h1>__GROUP_NAME__ admin</h1>
<p class="sub">Create secret invite links. Each one lets someone pick a screen name and join the chat.</p>
<div id="locked" class="card hidden">