diff options
Diffstat (limited to 'remoting/webapp/session_connector.js')
-rw-r--r-- | remoting/webapp/session_connector.js | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/remoting/webapp/session_connector.js b/remoting/webapp/session_connector.js index e540b20..2b98180 100644 --- a/remoting/webapp/session_connector.js +++ b/remoting/webapp/session_connector.js @@ -336,15 +336,6 @@ remoting.SessionConnector.prototype.getHostId = function() { }; /** - * Get host display name. - * - * @return {string} - */ -remoting.SessionConnector.prototype.getHostDisplayName = function() { - return this.hostDisplayName_; -}; - -/** * Continue an IT2Me connection once an access token has been obtained. * * @param {string} token An OAuth2 access token. @@ -402,9 +393,10 @@ remoting.SessionConnector.prototype.createSession_ = function() { var authenticationMethods = 'third_party,spake2_pair,spake2_hmac,spake2_plain'; this.clientSession_ = new remoting.ClientSession( - this.passPhrase_, this.fetchPin_, this.fetchThirdPartyToken_, - authenticationMethods, this.hostId_, this.hostJid_, this.hostPublicKey_, - this.connectionMode_, this.clientPairingId_, this.clientPairedSecret_); + this.hostDisplayName_, this.passPhrase_, this.fetchPin_, + this.fetchThirdPartyToken_, authenticationMethods, this.hostId_, + this.hostJid_, this.hostPublicKey_, this.connectionMode_, + this.clientPairingId_, this.clientPairedSecret_); this.clientSession_.logHostOfflineErrors(!this.refreshHostJidIfOffline_); this.clientSession_.addEventListener( remoting.ClientSession.Events.stateChanged, |