Merge pull request #545 from sevonj/fix-inbox-hide-sent-messages

fix: Inbox shows outgoing messages
This commit is contained in:
Xylight authored and GitHub committed 2025-06-06 11:13:39 -07:00
commit a175b6fd2e
1 file changed
+2
+2
View File
@@ -165,6 +165,7 @@ items-center px-2 w-max top-6 lg:top-22"
/>
{:else}
{#each data.inbox.value as item, index (item.id)}
{#if item.creator.id != profile.data.user?.local_user_view.person.id}
<div
class="-mx-4 sm:-mx-6 px-4 sm:px-6
{item.read ? '' : 'bg-blue-50/50 dark:bg-blue-500/5'}"
@@ -178,6 +179,7 @@ items-center px-2 w-max top-6 lg:top-22"
>
<InboxItem bind:item={data.inbox.value[index]} />
</div>
{/if}
{/each}
{/if}
{#if !(data.page == 1 && (data?.inbox?.value.length ?? 0) == 0)}