oops. Should not have c+p all lines

This commit is contained in:
Emmanuel ROHEE 2014-08-29 18:29:04 +02:00
parent e1f249ce20
commit 95cbd026cc
1 changed files with 0 additions and 2 deletions

View File

@ -118,7 +118,6 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
matrixService.getDisplayName($scope.config.user_id).then( matrixService.getDisplayName($scope.config.user_id).then(
function(response) { function(response) {
$scope.profile.displayName = response.data.displayname; $scope.profile.displayName = response.data.displayname;
$scope.profileOnServer.displayName = response.data.displayname;
}, },
function(error) { function(error) {
$scope.feedback = "Can't load display name"; $scope.feedback = "Can't load display name";
@ -128,7 +127,6 @@ angular.module('HomeController', ['matrixService', 'eventHandlerService', 'Recen
matrixService.getProfilePictureUrl($scope.config.user_id).then( matrixService.getProfilePictureUrl($scope.config.user_id).then(
function(response) { function(response) {
$scope.profile.avatarUrl = response.data.avatar_url; $scope.profile.avatarUrl = response.data.avatar_url;
$scope.profileOnServer.avatarUrl = response.data.avatar_url;
}, },
function(error) { function(error) {
$scope.feedback = "Can't load avatar URL"; $scope.feedback = "Can't load avatar URL";