Allow join/leave in platform mode
This commit is contained in:
parent
4222e7364f
commit
210e358dc5
1 changed files with 13 additions and 16 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue