Fix connection meta access

This commit is contained in:
Jon Staab
2024-11-12 20:50:34 -08:00
parent 80b4b88bd6
commit 13a1b1cd18
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
const confirm = () => goto(makeSpacePath(url), {replaceState: true}) const confirm = () => goto(makeSpacePath(url), {replaceState: true})
const next = () => { const next = () => {
if (!error && ctx.net.pool.get(url).meta.lastAuth === 0) { if (!error && ctx.net.pool.get(url).stats.lastAuth === 0) {
pushModal(Confirm, { pushModal(Confirm, {
confirm, confirm,
message: `This space does not appear to limit who can post to it. This can result message: `This space does not appear to limit who can post to it. This can result

View File

@@ -38,7 +38,7 @@
const connection = ctx.net.pool.get(url) const connection = ctx.net.pool.get(url)
if (connection.meta.lastAuth === 0) { if (connection.stats.lastAuth === 0) {
pushModal(Confirm, { pushModal(Confirm, {
confirm: () => confirm(url), confirm: () => confirm(url),
message: `This space does not appear to limit who can post to it. This can result message: `This space does not appear to limit who can post to it. This can result