Validate space connection before joining

This commit is contained in:
Jon Staab
2024-10-10 14:33:50 -07:00
parent 821a6a095f
commit 0d394bbc3b
18 changed files with 204 additions and 88 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import {sortBy, append} from "@welshman/lib"
import {createEvent} from "@welshman/util"
import type {EventContent, TrustedEvent} from "@welshman/util"
import {repository, makeThunk, publishThunk} from "@welshman/app"
import {repository, publishThunk} from "@welshman/app"
import {deriveEvents} from "@welshman/store"
import ChannelMessage from "@app/components/ChannelMessage.svelte"
import ChannelCompose from "@app/components/ChannelCompose.svelte"
@@ -39,7 +39,7 @@
const reply = createEvent(REPLY, {content, tags: append(tagRoom(room, url), tags)})
publishThunk(makeThunk({event: reply, relays: [url]}))
publishThunk({event: reply, relays: [url]})
}
</script>