summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-03 18:23:56 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-03 18:23:56 +0100
commita25d1530ef9f48e5853ee735674d8e2251a8cbb0 (patch)
tree6260c381c4d9d69b678db2e5f7d151e5a606ae5f /webclient/app-controller.js
parentAdd support for registering with a threepid to the HS (get credentials from t... (diff)
downloadsynapse-a25d1530ef9f48e5853ee735674d8e2251a8cbb0.tar.xz
Make registering and logging in with a threepid work in the webclient.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index 42c45f7c31..a77d32a5ac 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -85,7 +85,7 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
         $scope.logout();
     });
     
-    $scope.updateHeader = function() {
+    $rootScope.updateHeader = function() {
         $scope.user_id = matrixService.config().user_id;
     };