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:
Brian Egge
2023-12-16 18:20:42 -05:00
committed by GitHub
parent 6a32fcec2d
commit 470e2ae34f

View File

@@ -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;