Remove the DM relay health check
This commit is contained in:
parent
006d7ab5e5
commit
04360b212f
1 changed files with 1 additions and 15 deletions
|
|
@ -14,7 +14,7 @@ import {errorMessage} from "@lib/util"
|
||||||
import KeyDownload from "@app/components/KeyDownload.svelte"
|
import KeyDownload from "@app/components/KeyDownload.svelte"
|
||||||
import HealthCheckReview from "@app/components/HealthCheckReview.svelte"
|
import HealthCheckReview from "@app/components/HealthCheckReview.svelte"
|
||||||
import {session, usePlugin} from "@app/core"
|
import {session, usePlugin} from "@app/core"
|
||||||
import {DEFAULT_RELAYS, DEFAULT_MESSAGING_RELAYS} from "@app/env"
|
import {DEFAULT_RELAYS} from "@app/env"
|
||||||
import {pushModal} from "@app/modal"
|
import {pushModal} from "@app/modal"
|
||||||
import {pushToast} from "@app/toast"
|
import {pushToast} from "@app/toast"
|
||||||
|
|
||||||
|
|
@ -148,20 +148,6 @@ export class HealthChecks {
|
||||||
urls => this.app.use(RelayLists).setWriteUrls(urls).then(publishRelayList),
|
urls => this.app.use(RelayLists).setWriteUrls(urls).then(publishRelayList),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "missing-dm-relays",
|
|
||||||
title: "Missing DM Relays",
|
|
||||||
description: "You aren't currently able to reliably send or receive direct messages.",
|
|
||||||
isPending: context => context.messagingRelays.length <= 1,
|
|
||||||
plan: context =>
|
|
||||||
relayPlan(
|
|
||||||
"Sets your DM relays to the ones this app recommends.",
|
|
||||||
"DM relays",
|
|
||||||
context.messagingRelays,
|
|
||||||
DEFAULT_MESSAGING_RELAYS,
|
|
||||||
urls => this.app.use(MessagingRelayLists).setUrls(urls).then(publishRelayList),
|
|
||||||
),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "too-many-inbox-relays",
|
id: "too-many-inbox-relays",
|
||||||
title: "Too Many Inbox Relays",
|
title: "Too Many Inbox Relays",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue