Re-work space navigation #223

This commit is contained in:
Jon Staab
2025-10-06 11:23:19 -07:00
committed by hodlbod
parent b3533c285f
commit f9ac13ba11
68 changed files with 2807 additions and 884 deletions
+10 -1
View File
@@ -16,7 +16,12 @@
import {makeEditor} from "@app/editor"
import {canEnforceNip70} from "@app/core/commands"
const {url} = $props()
type Props = {
url: string
room?: string
}
const {url, room}: Props = $props()
const shouldProtect = canEnforceNip70(url)
@@ -52,6 +57,10 @@
tags.push(PROTECTED)
}
if (room) {
tags.push(["h", room])
}
publishThunk({
relays: [url],
event: makeEvent(THREAD, {content, tags}),