forked from coracle/flotilla
Rough out chat
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import {onMount} from "svelte"
|
||||
import {page} from "$app/stores"
|
||||
import {sort, now} from "@welshman/lib"
|
||||
import {sort} from "@welshman/lib"
|
||||
import {displayRelayUrl, REACTION, NOTE, EVENT_DATE, EVENT_TIME, CLASSIFIED} from "@welshman/util"
|
||||
import {subscribe} from "@welshman/app"
|
||||
import {fly, slide} from "@lib/transition"
|
||||
|
||||
@@ -20,7 +20,15 @@
|
||||
import Divider from "@lib/components/Divider.svelte"
|
||||
import ChannelMessage from "@app/components/ChannelMessage.svelte"
|
||||
import ChannelCompose from "@app/components/ChannelCompose.svelte"
|
||||
import {userMembership, decodeNRelay, makeChannelId, deriveChannel, GENERAL, tagRoom, MESSAGE} from "@app/state"
|
||||
import {
|
||||
userMembership,
|
||||
decodeNRelay,
|
||||
makeChannelId,
|
||||
deriveChannel,
|
||||
GENERAL,
|
||||
tagRoom,
|
||||
MESSAGE,
|
||||
} from "@app/state"
|
||||
import {addRoomMembership, removeRoomMembership} from "@app/commands"
|
||||
|
||||
const {nrelay, room = GENERAL} = $page.params
|
||||
|
||||
Reference in New Issue
Block a user