Recent Conversations

{#if $conversations.length === 0} {#if $messages.length > 0} {@const events = $messages.slice(0, 1)} {@const event = events[0]} {@const room = getTagValue("h", event.tags)} {:else}

No recent conversations

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