From b0b2750a0b625b066c025c7198f5737b8f6469fb Mon Sep 17 00:00:00 2001 From: shodan Date: Fri, 28 Oct 2016 10:39:10 +0200 Subject: [PATCH] Implement Pushjet notifications --- classes/notificationsmanager.class.php | 3 +++ classes/notificationsmanagerview.class.php | 1 + classes/pushserver.class.php | 29 ++++++++++++++++++++++ static/functions/user_settings.js | 3 +++ 4 files changed, 36 insertions(+) diff --git a/classes/notificationsmanager.class.php b/classes/notificationsmanager.class.php index 618a4926..ab880b6e 100644 --- a/classes/notificationsmanager.class.php +++ b/classes/notificationsmanager.class.php @@ -751,6 +751,9 @@ public static function send_push($UserIDs, $Title, $Body, $URL = '', $Type = sel case '6': $Service = "PushBullet"; break; + case '7': + $Service = "Pushjet"; + break; default: break; } diff --git a/classes/notificationsmanagerview.class.php b/classes/notificationsmanagerview.class.php index 527258fe..86fb52fd 100644 --- a/classes/notificationsmanagerview.class.php +++ b/classes/notificationsmanagerview.class.php @@ -35,6 +35,7 @@ private static function render_push_settings() { +