From 9d55b4a505eecf3066dcaec738bec320e5b6bf0f Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 6 Jun 2023 11:33:56 -0500 Subject: [PATCH] Remove libera.chat as a default since their rooms are not accessible in the archive (#263) The history visibility in Libera rooms is set to `join` which means it's not accessible in the archive at all. Instead of leading a bunch of people to `403 Forbidden`, we can just remove it from the default list. The default list was mostly just copied from the Element list of defaults. --- shared/viewmodels/RoomDirectoryViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/viewmodels/RoomDirectoryViewModel.js b/shared/viewmodels/RoomDirectoryViewModel.js index 0014ac1..90c5c13 100644 --- a/shared/viewmodels/RoomDirectoryViewModel.js +++ b/shared/viewmodels/RoomDirectoryViewModel.js @@ -10,7 +10,7 @@ const HomeserverSelectionModalContentViewModel = require('matrix-public-archive- const RoomCardViewModel = require('matrix-public-archive-shared/viewmodels/RoomCardViewModel'); const checkTextForNsfw = require('matrix-public-archive-shared/lib/check-text-for-nsfw'); -const DEFAULT_SERVER_LIST = ['matrix.org', 'gitter.im', 'libera.chat']; +const DEFAULT_SERVER_LIST = ['matrix.org', 'gitter.im']; class RoomDirectoryViewModel extends ViewModel { constructor(options) {