mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 19:07:06 +00:00
Allow join/leave in platform mode
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user