forked from coracle/flotilla
Add emoji reactions
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
|
||||
onMount(() => {
|
||||
const kinds = [NOTE, MESSAGE, EVENT_DATE, EVENT_TIME, CLASSIFIED]
|
||||
const sub = subscribe({filters: [{kinds, since: now() - 30}], relays: [url]})
|
||||
const sub = subscribe({filters: [{kinds}], relays: [url]})
|
||||
|
||||
return () => sub.close()
|
||||
})
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
{#if type === "date"}
|
||||
<Divider>{value}</Divider>
|
||||
{:else}
|
||||
<ChatMessage event={assertEvent(value)} {showPubkey} />
|
||||
<ChatMessage {url} {room} event={assertEvent(value)} {showPubkey} />
|
||||
{/if}
|
||||
{/each}
|
||||
<p class="flex h-10 items-center justify-center py-20">
|
||||
|
||||
Reference in New Issue
Block a user