summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-01 11:12:24 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-01 11:12:24 +0200
commitf81002df6066820ead24f46a959b84612c5e532d (patch)
tree8f9197464c646a180d75ad9018da6b1989221184 /webclient/app-controller.js
parentlicenses, please... (diff)
downloadsynapse-f81002df6066820ead24f46a959b84612c5e532d.tar.xz
BF: Pass desired_user_id to register API. And update the app header to avoid to display the previous matrix id
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index 77a7ad03a5..172770f82f 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -81,6 +81,10 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
         $scope.logout();
     });
     
+    $scope.updateHeader = function() {
+        $scope.user_id = matrixService.config().user_id;
+    };
+    
 }]);