diff --git a/src/app/components/Chat.svelte b/src/app/components/Chat.svelte index 14b7ece5..372c58a4 100644 --- a/src/app/components/Chat.svelte +++ b/src/app/components/Chat.svelte @@ -34,6 +34,7 @@ messagingRelayListsByPubkey, } from "@welshman/app" import Danger from "@assets/icons/danger-triangle.svg?dataurl" + import ArrowLeft from "@assets/icons/arrow-left.svg?dataurl" import Icon from "@lib/components/Icon.svelte" import Spinner from "@lib/components/Spinner.svelte" import PageBar from "@lib/components/PageBar.svelte" @@ -72,6 +73,8 @@ ? pushModal(ProfileDetail, {pubkey: others[0]}) : pushModal(ChatMembers, {pubkeys: others}) + const back = () => history.back() + const replyTo = (event: TrustedEvent) => { parent = event compose?.focus() @@ -251,35 +254,40 @@ -
-
- +
+
+ +
+ {:else} +
+ +

+ + and + {#if others.length === 2} + + {:else} + {others.length - 1} + {others.length > 2 ? "others" : "other"} + {/if} +

+
+ {/if} + +