diff options
Diffstat (limited to 'webclient/home/home-controller.js')
-rw-r--r-- | webclient/home/home-controller.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/webclient/home/home-controller.js b/webclient/home/home-controller.js index 7ae13f12e8..438ffe1b0e 100644 --- a/webclient/home/home-controller.js +++ b/webclient/home/home-controller.js @@ -118,7 +118,6 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen matrixService.getDisplayName($scope.config.user_id).then( function(response) { $scope.profile.displayName = response.data.displayname; - $scope.profileOnServer.displayName = response.data.displayname; }, function(error) { $scope.feedback = "Can't load display name"; @@ -128,7 +127,6 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen matrixService.getProfilePictureUrl($scope.config.user_id).then( function(response) { $scope.profile.avatarUrl = response.data.avatar_url; - $scope.profileOnServer.avatarUrl = response.data.avatar_url; }, function(error) { $scope.feedback = "Can't load avatar URL"; |