oops. Should not have c+p all lines
This commit is contained in:
parent
e1f249ce20
commit
95cbd026cc
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue