mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes emergency recipient toast not configured
This commit is contained in:
parent
ffd2c2fc1e
commit
ec4224893b
2 changed files with 15 additions and 1 deletions
|
|
@ -1265,4 +1265,16 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function recipients.isAlertsRecipient(recipient)
|
||||
return recipient.notifications_type == "alerts"
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function recipients.isBuiltinRecipient(recipient)
|
||||
return recipient.recipient_name == "builtin_recipient_alert_store_db"
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return recipients
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue