diff --git a/src/MatrixClientPeg.js b/src/MatrixClientPeg.js index a994725f56..db3e542af9 100644 --- a/src/MatrixClientPeg.js +++ b/src/MatrixClientPeg.js @@ -201,13 +201,6 @@ class MatrixClientPeg { return matches[1]; } - /** - * @deprecated Use getHomeserverName() instead (correct spelling) - */ - getHomeServerName() { - return this.getHomeserverName(); - } - _createClient(creds: MatrixClientCreds) { const aggregateRelations = SettingsStore.isFeatureEnabled("feature_reactions"); const enableEdits = SettingsStore.isFeatureEnabled("feature_message_editing"); diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index a98afdce2a..eb78888741 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -145,7 +145,7 @@ module.exports = React.createClass({ // too. If it's changed, appending to the list will corrupt it. const my_next_batch = this.nextBatch; const opts = {limit: 20}; - if (my_server != MatrixClientPeg.getHomeServerName()) { + if (my_server != MatrixClientPeg.getHomeserverName()) { opts.server = my_server; } if (this.state.instanceId) {