summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-25 14:22:45 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-25 14:22:45 -0500
commitb30b4a429318ec80e2adb41b742298a4899e61d0 (patch)
treefd997644a3412dce39360ca3a8fc15288013fd9d /web
parenta7f8af528d0b3917f2960fa49d43b83ade0e7618 (diff)
parent75e82eb1b115c0215c7d6a7ecf61c4d8f6656578 (diff)
downloadchat-b30b4a429318ec80e2adb41b742298a4899e61d0.tar.gz
chat-b30b4a429318ec80e2adb41b742298a4899e61d0.tar.bz2
chat-b30b4a429318ec80e2adb41b742298a4899e61d0.zip
Merge pull request #2254 from hmhealey/plt2127
PLT-2127 Stopped setting Notification.permission
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/utils.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 38516fae2..a381d3bcc 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -156,10 +156,6 @@ export function notifyMe(title, body, channel) {
requestedNotificationPermission = true;
Notification.requestPermission((permission) => {
- if (Notification.permission !== permission) {
- Notification.permission = permission;
- }
-
if (permission === 'granted') {
try {
var notification = new Notification(title, {body, tag: body, icon: '/static/images/icon50x50.png'});