diff --git a/src/app/components/ChannelMessage.svelte b/src/app/components/ChannelMessage.svelte index af8adb8..07be1e0 100644 --- a/src/app/components/ChannelMessage.svelte +++ b/src/app/components/ChannelMessage.svelte @@ -1,11 +1,11 @@ @@ -75,18 +71,6 @@ on:click={openThread} type="button" class="group relative flex w-full flex-col gap-1 p-2 text-left transition-colors hover:bg-base-300"> - {#if $rootEvent && !hideParent} -
- -

In reply to

- -

{$rootProfileDisplay}

-

- {ellipsize($rootEvent.content, 30)} -

-
- {/if}
{#if showPubkey}
- {#if $reactions.length > 0 || $zaps.length > 0} -
+ {#if $reactions.length > 0 || $replies.length > 0} +
+ {#if $replies.length > 0 && !isThread} +
+ + {$replies.length} +
+ {/if} {#each groupBy( e => e.content, uniqBy(e => e.pubkey + e.content, $reactions), ).entries() as [content, events]} {@const isOwn = events.some(e => e.pubkey === $pubkey)} {@const onClick = () => onReactionClick(content, events)}