{#if message.user}
{#if $modelfiles.map((modelfile) => modelfile.tagName).includes(message.user)}
{$modelfiles.find((modelfile) => modelfile.tagName === message.user)?.title}
{:else}
You {message?.user ?? ''}
{/if}
{:else}
You
{/if}
{#if message.files}
{#each message.files as file}
{#if file.type === 'image'}
{:else if file.type === 'doc'}
{/if}
{/each}
{/if}
{#if edit === true}
{:else}
{message.content}
{#if siblings.length > 1}
{siblings.indexOf(message.id) + 1} / {siblings.length}
{/if}
{/if}