Listen for new threads, add reply/quote button to channels and chats, better quote handling
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
export let event
|
||||
export let pubkeys
|
||||
export let popover
|
||||
export let replyTo
|
||||
|
||||
const reply = () => replyTo(event)
|
||||
|
||||
const showInfo = () => {
|
||||
popover.hide()
|
||||
@@ -17,6 +20,11 @@
|
||||
|
||||
<div class="join border border-solid border-neutral text-xs">
|
||||
<ChatMessageEmojiButton {event} {pubkeys} />
|
||||
{#if replyTo}
|
||||
<Button class="btn join-item btn-xs" on:click={reply}>
|
||||
<Icon size={4} icon="reply" />
|
||||
</Button>
|
||||
{/if}
|
||||
<Button class="btn join-item btn-xs" on:click={showInfo}>
|
||||
<Icon size={4} icon="code-2" />
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user