diff --git a/src/app/components/ChannelMessage.svelte b/src/app/components/ChannelMessage.svelte index e6bee1e9..075a799e 100644 --- a/src/app/components/ChannelMessage.svelte +++ b/src/app/components/ChannelMessage.svelte @@ -109,7 +109,7 @@ {#if !isHead} {/if} - + -
+
- {#if showPubkey && event.pubkey !== $pubkey} + {#if showPubkey}
- - -
- - {$profileDisplay} - -
- + {#if !isOwn} + + +
+ + {$profileDisplay} + +
+ + {/if} {formatTimestampAsTime(event.created_at)}
{/if} @@ -117,7 +120,7 @@
- +
diff --git a/src/app/components/ReactionSummary.svelte b/src/app/components/ReactionSummary.svelte index fabb0a6e..3670291a 100644 --- a/src/app/components/ReactionSummary.svelte +++ b/src/app/components/ReactionSummary.svelte @@ -5,11 +5,14 @@ import {deriveEvents} from "@welshman/store" import {pubkey, repository, load, displayProfileByPubkey} from "@welshman/app" import {displayList} from "@lib/util" + import {isMobile} from "@lib/html" import {displayReaction} from "@app/state" export let event export let onReactionClick export let relays: string[] = [] + export let reactionClass = "" + export let noTooltip = false const filters = [{kinds: [REACTION], "#e": [event.id]}] const reactions = deriveEvents(repository, {filters}) @@ -35,7 +38,8 @@