modelfile.tagName === message.user)?.imageUrl ?? '/user.png' : user?.profile_image_url ?? '/user.png'} />
{#if message.user} {#if $modelfiles.map((modelfile) => modelfile.tagName).includes(message.user)} {$modelfiles.find((modelfile) => modelfile.tagName === message.user)?.title} {:else} {$i18n.t('You')} {message?.user ?? ''} {/if} {:else if $settings.showUsername} {user.name} {:else} {$i18n.t('You')} {/if} {#if message.timestamp} {/if}
{#if message.files}
{#each message.files as file}
{#if file.type === 'image'} input {:else if file.type === 'doc'} {:else if file.type === 'collection'} {/if}
{/each}
{/if} {#if edit === true}