MatrixSynapse/synapse/push/rulekinds.py

9 lines
189 B
Python
Raw Normal View History

PRIORITY_CLASS_MAP = {
2015-02-10 17:30:48 +01:00
'underride': 1,
'sender': 2,
'room': 3,
'content': 4,
'override': 5,
}
PRIORITY_CLASS_INVERSE_MAP = {v: k for k, v in PRIORITY_CLASS_MAP.items()}