mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update Pushover.php (#15652)
Entities are html encoded so this will cause them to be displayed correctly in pushover alerts --------- Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
@@ -52,6 +52,8 @@ class Pushover extends Transport
|
||||
$data = [];
|
||||
$data['token'] = $this->config['appkey'];
|
||||
$data['user'] = $this->config['userkey'];
|
||||
// Entities are html encoded so this will cause them to be displayed correctly in pushover alerts
|
||||
$data['html'] = '1';
|
||||
switch ($alert_data['severity']) {
|
||||
case 'critical':
|
||||
$data['priority'] = 1;
|
||||
|
Reference in New Issue
Block a user