summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 17:11:03 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 17:13:57 +0200
commitc3a774e414324746c484ad21d19c4be4e2167cd0 (patch)
treed363d80d11427baa964c3b065a2745d58901d3e6 /webclient/app-controller.js
parentbetter support for call hangups (diff)
downloadsynapse-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.js7
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(){});
-        }
-    };
-    
 }]);