Fix typos where I mispelled homeserver (#195)

This commit is contained in:
Eric Eastwood 2023-04-27 00:00:56 -05:00 committed by GitHub
parent 13f66c6d9d
commit ab9154bec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ const HomeserverSelectionModalContentViewModel = require('matrix-public-archive-
const DEFAULT_SERVER_LIST = ['matrix.org', 'gitter.im', 'libera.chat'];
const ADDED_HOMESERVERS_LIST_LOCAL_STORAGE_KEY = 'addedHomservers';
const ADDED_HOMESERVERS_LIST_LOCAL_STORAGE_KEY = 'addedHomeservers';
class RoomDirectoryViewModel extends ViewModel {
constructor(options) {
@ -47,7 +47,7 @@ class RoomDirectoryViewModel extends ViewModel {
this._homeserverSelection = pageSearchParameters.homeserver || this._availableHomeserverList[0];
// The homeservers that the user added themselves (pulled from LocalStorage)
this._addedHomeserversList = [];
this.loadAddedHomserversListFromPersistence();
this.loadAddedHomeserversListFromPersistence();
// The default list of homeservers to select from
this._calculateAvailableHomeserverList();
@ -166,7 +166,7 @@ class RoomDirectoryViewModel extends ViewModel {
return this._homeserverSelection;
}
loadAddedHomserversListFromPersistence() {
loadAddedHomeserversListFromPersistence() {
if (window.localStorage) {
let addedHomeserversFromPersistence = [];
try {