diff options
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r-- | webclient/app-controller.js | 4 |
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; + }; + }]); |