Share Where would you like to share this?
{#if roomResults.length > 0}

Rooms

{#each roomResults as { url, h } (makeRoomPath(url, h))} {@const path = makeRoomPath(url, h)} {/each}
{/if} {#if chatResults.length > 0}

Direct Messages

{#each chatResults as chat (chat.id)} {@const path = makeChatPath(chat.pubkeys)} {@const others = remove($user.pubkey, chat.pubkeys)} {/each}
{/if} {#if roomResults.length === 0 && chatResults.length === 0}

{#if term} Nothing matched your search. {:else} Join a space or start a conversation to have somewhere to share to. {/if}

{/if}