BF: Pass desired_user_id to register API. And update the app header to avoid to display the previous matrix id

This commit is contained in:
Emmanuel ROHEE 2014-09-01 11:12:24 +02:00
parent df752a15ce
commit f81002df60
2 changed files with 10 additions and 2 deletions

View file

@ -81,6 +81,10 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
$scope.logout();
});
$scope.updateHeader = function() {
$scope.user_id = matrixService.config().user_id;
};
}]);