summary refs log blame commit diff
path: root/synapse/push/rulekinds.py
blob: 660aa4e10e2234773d1222fc7937ebc3652a3809 (plain) (tree)
1
2
3
4
5
6
7
8
                      




                   
                                                                          
PRIORITY_CLASS_MAP = {
    'underride': 1,
    'sender': 2,
    'room': 3,
    'content': 4,
    'override': 5,
}
PRIORITY_CLASS_INVERSE_MAP = {v: k for k, v in PRIORITY_CLASS_MAP.items()}