Allow join/leave in platform mode

This commit is contained in:
Jon Staab 2024-10-22 11:41:42 -07:00
parent 4222e7364f
commit 210e358dc5

View file

@ -21,7 +21,6 @@
memberships,
roomsByUrl,
GENERAL,
PLATFORM_RELAY,
} from "@app/state"
import {checkRelayConnection, checkRelayAuth} from "@app/commands"
import {pushModal} from "@app/modal"
@ -98,7 +97,6 @@
Create Invite
</Button>
</li>
{#if !PLATFORM_RELAY}
<li>
{#if getMembershipUrls($userMembership).includes(url)}
<Button on:click={leaveSpace} class="text-error">
@ -112,7 +110,6 @@
</Button>
{/if}
</li>
{/if}
</ul>
</Popover>
{/if}