forked-synapse/synapse/push/rulekinds.py

9 lines
189 B
Python
Raw Normal View History

PRIORITY_CLASS_MAP = {
2015-02-10 11:30:48 -05: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()}