From d0b47488fb69b2b8449fa73e8d94e2cdcc9adda8 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Thu, 20 Dec 2018 09:15:30 +0300
Subject: [PATCH] default webPush to false, because having it at true leads to
 some problems with local dev mode. Instances can re-enable it, and BE can
 default it to true in config.exs

---
 src/modules/config.js | 2 +-
 static/config.json    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/config.js b/src/modules/config.js
index ccfd0190..c9528f6f 100644
--- a/src/modules/config.js
+++ b/src/modules/config.js
@@ -24,7 +24,7 @@ const defaultState = {
     likes: true,
     repeats: true
   },
-  webPushNotifications: true,
+  webPushNotifications: false,
   muteWords: [],
   highlight: {},
   interfaceLanguage: browserLocale,
diff --git a/static/config.json b/static/config.json
index 7887f930..f508eea1 100644
--- a/static/config.json
+++ b/static/config.json
@@ -16,5 +16,6 @@
   "alwaysShowSubjectInput": true,
   "hidePostStats": false,
   "hideUserStats": false,
-  "loginMethod": "password"
+  "loginMethod": "password",
+  "webPushNotifications": false
 }