Completes the migration to the stateful alerts

This commit is contained in:
Simone Mainardi 2016-09-06 16:33:37 +02:00
parent 66a064011e
commit a280e53862
13 changed files with 68 additions and 250 deletions

View file

@ -39,7 +39,8 @@ function dumpInterfaceStats(interface_name)
end
if prefs.are_alerts_enabled == true then
res["alerts"] = interface.getNumQueuedAlerts()
res["alerts"] = interface.getNumAlerts(false--[[ not engaged --]])
res["engaged_alerts"] = interface.getNumAlerts(true --[[ engaged --]])
end