Add protected tag

This commit is contained in:
Jon Staab
2024-12-09 11:59:42 -08:00
parent 1e0cb93183
commit e17cda1eff
10 changed files with 23 additions and 18 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
import ModalHeader from "@lib/components/ModalHeader.svelte"
import ModalFooter from "@lib/components/ModalFooter.svelte"
import {pushToast} from "@app/toast"
import {THREAD, GENERAL, tagRoom} from "@app/state"
import {THREAD, GENERAL, tagRoom, PROTECTED} from "@app/state"
import {getPubkeyHints} from "@app/commands"
import {getEditorOptions, getEditorTags} from "@lib/editor"
@@ -38,7 +38,7 @@
})
}
const tags = [["title", title], tagRoom(GENERAL, url), ...getEditorTags($editor)]
const tags = [["title", title], tagRoom(GENERAL, url), ...getEditorTags($editor), PROTECTED]
publishThunk({
relays: [url],