diff --git a/src/app/components/Chat.svelte b/src/app/components/Chat.svelte index 977fc32..e558954 100644 --- a/src/app/components/Chat.svelte +++ b/src/app/components/Chat.svelte @@ -170,7 +170,7 @@ id, type: "note", value: event, - showPubkey: created_at - previousCreatedAt > int(15, MINUTE) || previousPubkey !== pubkey, + showPubkey: created_at - previousCreatedAt > int(2, MINUTE) || previousPubkey !== pubkey, }) previousDate = date diff --git a/src/app/components/ChatItem.svelte b/src/app/components/ChatItem.svelte index 613faf7..57ff4c1 100644 --- a/src/app/components/ChatItem.svelte +++ b/src/app/components/ChatItem.svelte @@ -59,6 +59,11 @@ {/if}
+ + {#if props.messages[0].pubkey === $pubkey} + You: + {/if} + {props.messages[0].content}