summary refs log tree commit diff
path: root/webclient/home
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 18:29:04 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 18:29:04 +0200
commit95cbd026ccb7c15daa17bd8eeb1a4551ea62d3fb (patch)
tree14764a2f8e625b2597e0fe5f98663997decdeb67 /webclient/home
parentImplemented /nick (diff)
downloadsynapse-95cbd026ccb7c15daa17bd8eeb1a4551ea62d3fb.tar.xz
oops. Should not have c+p all lines
Diffstat (limited to '')
-rw-r--r--webclient/home/home-controller.js2
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";