Hide "system" categories in notification preferences

Make sure that the system-noemail and system-emailonly categories are
hidden, the way the system category is, by setting their no-dismiss
setting to "all". This should be unnecessary, because e.g.
system-noemail doesn't allow email, so just setting no-dismiss to "web"
should suffice, but
EchoAttributeManager::isCategoryDisplayedInPreferences() isn't smart
enough to see that. Doing it this way is also more future-proof for if
we ever add more notification methods in addition to web and email.

Change-Id: I00641d43a4eb1d3e2d3ea285682cf900733b1855
This commit is contained in:
Roan Kattouw 2020-01-06 10:59:51 -08:00
parent 6653a20811
commit e771f57af8

View file

@ -577,13 +577,13 @@
"system-noemail": {
"priority": 9,
"no-dismiss": [
"web"
"all"
]
},
"system-emailonly": {
"priority": 9,
"no-dismiss": [
"email"
"all"
]
},
"user-rights": {