aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-12-14 16:17:27 +0100
committerhref <href@random.sh>2018-12-14 16:19:28 +0100
commit412df2cd3845802daf80c6d45db13f23f1e1b78b (patch)
treefb042b9b8e1095cacb191894f6f19fd1442d8708 /lib
parentef10e08efe11d6b796a47a41994caf4cb418ca01 (diff)
downloadpleroma-412df2cd3845802daf80c6d45db13f23f1e1b78b.tar.gz
Warn if push is disabled..
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/push/push.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/push/push.ex b/lib/pleroma/web/push/push.ex
index 8fa28ee8e..477943450 100644
--- a/lib/pleroma/web/push/push.ex
+++ b/lib/pleroma/web/push/push.ex
@@ -32,7 +32,7 @@ defmodule Pleroma.Web.Push do
end
def init(:ok) do
- if enabled() do
+ if !enabled() do
Logger.warn("""
VAPID key pair is not found. If you wish to enabled web push, please run