Add emoji reactions

This commit is contained in:
Jon Staab
2024-09-25 13:46:10 -07:00
parent 0b8f80ed0e
commit ce733e5743
10 changed files with 145 additions and 16 deletions
+1 -1
View File
@@ -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">