Recent Conversations

{#if $conversations.length === 0}

No recent conversations

{:else} {#each $conversations.slice(0, limit) as { room, events, latest, earliest, participants } (latest.id)}
#{room} {formatTimestamp(earliest.created_at)}
{events.length} messages
{formatTimestamp(latest.created_at)}
Latest reply:
{/each} {#if $conversations.length > limit} {/if} {/if}