Mozilla server is now in anchel.nl public list
This commit is contained in:
parent
2f1889423b
commit
11def5c99f
|
@ -18,7 +18,7 @@ from appdirs import AppDirs
|
|||
import nio
|
||||
|
||||
from . import __app_name__
|
||||
from .errors import MatrixError, MatrixForbidden, MatrixNotFound
|
||||
from .errors import MatrixError
|
||||
from .matrix_client import MatrixClient
|
||||
from .media_cache import MediaCache
|
||||
from .models import SyncId
|
||||
|
@ -618,6 +618,7 @@ class Backend:
|
|||
response = await session.get(api_list)
|
||||
data = (await response.json())["staticlist"]
|
||||
|
||||
# Missing from the anchel.nl public list
|
||||
await self._add_homeserver_item(
|
||||
session = session,
|
||||
homeserver_url = "https://matrix-client.matrix.org",
|
||||
|
@ -627,15 +628,6 @@ class Backend:
|
|||
uptimerobot_id = 783115140,
|
||||
)
|
||||
|
||||
await self._add_homeserver_item(
|
||||
session = session,
|
||||
homeserver_url = "https://mozilla.modular.im",
|
||||
name = "mozilla.org",
|
||||
site_url = "https://mozilla.org",
|
||||
country = "United States",
|
||||
uptimerobot_id = 784321494,
|
||||
)
|
||||
|
||||
for server in data:
|
||||
if server["homeserver"].startswith("http://"): # insecure server
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user