mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 08:36:05 -04:00
Spit out server default rules too.
This commit is contained in:
parent
6dc92d3427
commit
b4b892f4a3
2 changed files with 17 additions and 10 deletions
|
@ -1,9 +1,5 @@
|
|||
def make_base_rules(user_name):
|
||||
"""
|
||||
Nominally we reserve priority class 0 for these rules, although
|
||||
in practice we just append them to the end so we don't actually need it.
|
||||
"""
|
||||
return [
|
||||
rules = [
|
||||
{
|
||||
'conditions': [
|
||||
{
|
||||
|
@ -46,4 +42,7 @@ def make_base_rules(user_name):
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
for r in rules:
|
||||
r['priority_class'] = 0
|
||||
return rules
|
Loading…
Add table
Add a link
Reference in a new issue