summary refs log tree commit diff
path: root/synapse/push/rulekinds.py
blob: 763bdee58e0421f2af175a74fee1c2bd65728424 (plain) (blame)
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()}