Skip to content

Commit

Permalink
Disable disappearing messages until backend is upgraded (#4716)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Nov 7, 2023
1 parent a916e5e commit 3f632b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/app/src/components/home/VisibilityControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
let selectedGateKey: string | undefined = undefined;
let disappearingMessages =
candidate.kind === "candidate_group_chat" && candidate.eventsTTL !== undefined;
let disappearingMessagesEnabled = false;
$: invalidDissolveDelay = minDissolveDelay !== "" && isNaN(Number(minDissolveDelay));
$: invalidMinStake = minStake !== "" && isNaN(Number(minStake));
Expand Down Expand Up @@ -166,7 +167,7 @@
</div>
{/if}

{#if candidate.kind === "candidate_group_chat"}
{#if disappearingMessagesEnabled && candidate.kind === "candidate_group_chat"}
<div class="section">
<Checkbox
id="disappearing-messages"
Expand Down

0 comments on commit 3f632b3

Please sign in to comment.