mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Remove backwards compat function
This commit is contained in:
parent
1f1a5b2aac
commit
ab63e8bd04
2 changed files with 1 additions and 8 deletions
|
@ -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");
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue