diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 17:11:03 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 17:13:57 +0200 |
commit | c3a774e414324746c484ad21d19c4be4e2167cd0 (patch) | |
tree | d363d80d11427baa964c3b065a2745d58901d3e6 /webclient/app-controller.js | |
parent | better support for call hangups (diff) | |
download | synapse-c3a774e414324746c484ad21d19c4be4e2167cd0.tar.xz |
Show desktop notification state. Provide help if the user has previously denied permission to display them.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r-- | webclient/app-controller.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js index 80474bb8df..775113bc87 100644 --- a/webclient/app-controller.js +++ b/webclient/app-controller.js @@ -69,13 +69,6 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even $scope.logout(); }); - $scope.requestNotifications = function() { - if (window.Notification) { - console.log("Notification.permission: " + window.Notification.permission); - window.Notification.requestPermission(function(){}); - } - }; - }]); |