diff --git a/data/web/inc/functions.pushover.inc.php b/data/web/inc/functions.pushover.inc.php index 08019364..feb96a33 100644 --- a/data/web/inc/functions.pushover.inc.php +++ b/data/web/inc/functions.pushover.inc.php @@ -54,6 +54,7 @@ function pushover($_action, $_data = null) { unset($senders[$i]); continue; } + $senders[$i] = preg_replace('/\.(?=.*?@gmail\.com$)/', '$1', $sender); } $senders = array_filter($senders); if (empty($senders)) { $senders = ''; } @@ -196,4 +197,4 @@ function pushover($_action, $_data = null) { } break; } -} \ No newline at end of file +}