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,7 +2,7 @@
import type {NativeEmoji} from "emoji-picker-element/shared"
import EmojiButton from "@lib/components/EmojiButton.svelte"
import Icon from "@lib/components/Icon.svelte"
import {tagRoom} from "@app/state"
import {tagRoom, PROTECTED} from "@app/state"
import {publishReaction} from "@app/commands"
export let url, room, event
@@ -12,7 +12,7 @@
event,
relays: [url],
content: emoji.unicode,
tags: [tagRoom(room, url)],
tags: [tagRoom(room, url), PROTECTED],
})
</script>