{#each chats as {id, pubkeys, messages} (id)} {/each}