{#snippet group(title: string, users: typeof here)} {#if users.length}

{title} ({users.length})

    {#each users as u (u.session)} {@const isSelf = u.session === session.self?.session}
  • {/each}
{/if} {/snippet} {@render group('In channel', here)} {@render group('Elsewhere', elsewhere)}