| Index: remoting/webapp/app_remoting/js/app_remoting.js
|
| diff --git a/remoting/webapp/app_remoting/js/app_remoting.js b/remoting/webapp/app_remoting/js/app_remoting.js
|
| index 2aab7393bc664c590621f172a743b74878ba8d23..22e79e26dcb5e5149872f2d3a12529b7b0b07fb0 100644
|
| --- a/remoting/webapp/app_remoting/js/app_remoting.js
|
| +++ b/remoting/webapp/app_remoting/js/app_remoting.js
|
| @@ -238,9 +238,12 @@ remoting.AppRemoting.prototype.getDefaultRemapKeys = function() {
|
| * @return {void} Nothing.
|
| */
|
| remoting.AppRemoting.prototype.handleConnected = function(clientSession) {
|
| - remoting.clientSession.sendClientMessage(
|
| - 'setUserDisplayInfo',
|
| - JSON.stringify({fullName: remoting.identity.getCachedUserFullName()}));
|
| + remoting.identity.getUserInfo().then(
|
| + function(userInfo) {
|
| + remoting.clientSession.sendClientMessage(
|
| + 'setUserDisplayInfo',
|
| + JSON.stringify({fullName: userInfo.name}));
|
| + });
|
|
|
| // Set up a ping at 10-second intervals to test the connection speed.
|
| function ping() {
|
|
|