You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Remove backwards compat function
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user