Add ChannelMessageMenuMobile

This commit is contained in:
Jon Staab
2024-10-24 15:48:45 -07:00
parent 89e4367208
commit a5173df121
24 changed files with 170 additions and 76 deletions
+19
View File
@@ -0,0 +1,19 @@
<script lang="ts">
import Confirm from "@lib/components/Confirm.svelte"
import {publishDelete} from "@app/commands"
export let url
export let event
const confirm = async () => {
await publishDelete({event, relays: [url]})
history.back()
}
</script>
<Confirm
{confirm}
title="Delete Message"
subtitle="Are you sure you want to delete this message?"
message="This will send a request to delete this message. Be aware that not all relays may honor this request." />