blob: c690b214d2a198ed7f4861b8ffeb43fd06f26fa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<script>
import Toggle from '$lib/components/Toggle.svelte';
// let { invites, createInvite = async () => {} } = $props();
async function onsubmit(event) {
event.preventDefault();
await createInvite();
}
</script>
<h2>Notify me when:</h2>
<Toggle
name="channel_created"
text="A new channel is created"
onclick={async () => {}}
/>
<Toggle
name="message_arrives"
text="A new message arrives in a channel"
onclick={async () => {}}
/>
<Toggle
name="message_arrives_username"
text="A new message containing your username arrives in a channel"
onclick={async () => {}}
/>
<Toggle
name="message_arrives_keyword"
text="A new message containing a keyword you have configured arrives in a channel"
onclick={async () => {}}
/>
<Toggle
name="own_message_stitched"
text="A message you wrote is stitched"
onclick={async () => {}}
/>
<Toggle
name="flagged_message_stitched"
text="A message you have flagged is stitched"
onclick={async () => {}}
/>
|