Skip to content

Commit

Permalink
Remove libera.chat as a default since their rooms are not accessible …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
MadLittleMods authored Jun 6, 2023
1 parent 9d3b176 commit 9d55b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/viewmodels/RoomDirectoryViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9d55b4a

Please sign in to comment.