{#if chatId === null || messageId === null} {:else}
{#if loading && items.length === 0}
{:else if items.length > 0} {/if}
{/if}