mirror of https://github.com/vector-im/riot-web
				
				
				
			Remove backwards compat function
							parent
							
								
									1f1a5b2aac
								
							
						
					
					
						commit
						ab63e8bd04
					
				| 
						 | 
					@ -201,13 +201,6 @@ class MatrixClientPeg {
 | 
				
			||||||
        return matches[1];
 | 
					        return matches[1];
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					 | 
				
			||||||
     * @deprecated Use getHomeserverName() instead (correct spelling)
 | 
					 | 
				
			||||||
     */
 | 
					 | 
				
			||||||
    getHomeServerName() {
 | 
					 | 
				
			||||||
        return this.getHomeserverName();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    _createClient(creds: MatrixClientCreds) {
 | 
					    _createClient(creds: MatrixClientCreds) {
 | 
				
			||||||
        const aggregateRelations = SettingsStore.isFeatureEnabled("feature_reactions");
 | 
					        const aggregateRelations = SettingsStore.isFeatureEnabled("feature_reactions");
 | 
				
			||||||
        const enableEdits = SettingsStore.isFeatureEnabled("feature_message_editing");
 | 
					        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.
 | 
					        // too. If it's changed, appending to the list will corrupt it.
 | 
				
			||||||
        const my_next_batch = this.nextBatch;
 | 
					        const my_next_batch = this.nextBatch;
 | 
				
			||||||
        const opts = {limit: 20};
 | 
					        const opts = {limit: 20};
 | 
				
			||||||
        if (my_server != MatrixClientPeg.getHomeServerName()) {
 | 
					        if (my_server != MatrixClientPeg.getHomeserverName()) {
 | 
				
			||||||
            opts.server = my_server;
 | 
					            opts.server = my_server;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (this.state.instanceId) {
 | 
					        if (this.state.instanceId) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue