-
+
{@html $_("settings.calling.userInviteToAGroupCall", {
values: {
user: `${$user.name}`,
@@ -110,14 +110,14 @@
{/if}
-
-
+
{/if}
diff --git a/src/lib/components/messaging/ChatPreview.svelte b/src/lib/components/messaging/ChatPreview.svelte
index 1c113da9f..539ba774b 100644
--- a/src/lib/components/messaging/ChatPreview.svelte
+++ b/src/lib/components/messaging/ChatPreview.svelte
@@ -27,10 +27,10 @@
$: users = Store.getUsers(chat.users)
$: lookupUsers = Store.getUsersLookup(chat.users)
- $: chatName = chat.kind === ChatType.Group ? chat.name : $users[1]?.name ?? $users[0].name
+ $: chatName = chat.kind === ChatType.Group ? chat.name : ($users[1]?.name ?? $users[0].name)
$: loading = chatName === "Unknown User" || ($users.length <= 2 && ($users[1]?.loading == true || $users[0].loading == true))
$: directChatPhoto = $users[1]?.profile.photo.image ?? $users[0].profile.photo.image
- $: chatStatus = $users.length > 2 ? Status.Offline : $users[1]?.profile.status ?? $users[0].profile.status
+ $: chatStatus = $users.length > 2 ? Status.Offline : ($users[1]?.profile.status ?? $users[0].profile.status)
$: simpleUnreads = derived(SettingsStore.state, s => s.messaging.simpleUnreads)
$: user = chat.typing_indicator.users().map(u => {
return $lookupUsers[u]
@@ -149,7 +149,7 @@
{chat.notifications}
{:else if chat.notifications > 0 && $simpleUnreads}
-
+
{/if}
{/if}
diff --git a/src/lib/components/messaging/Conversation.svelte b/src/lib/components/messaging/Conversation.svelte
index ac8b32130..ca94afd74 100644
--- a/src/lib/components/messaging/Conversation.svelte
+++ b/src/lib/components/messaging/Conversation.svelte
@@ -111,8 +111,8 @@