diff options
author | David Baker <dave@matrix.org> | 2015-03-02 17:37:22 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-03-02 17:37:22 +0000 |
commit | 09f9e8493c574b1c0c120e153cda4beebafce7dd (patch) | |
tree | 4ee89a1fa4ad987ebfa8e1b740f5dd0c67183533 /synapse/rest/client/v1/push_rule.py | |
parent | Blank lines (diff) | |
download | synapse-09f9e8493c574b1c0c120e153cda4beebafce7dd.tar.xz |
Oops, missed a replacement.
Diffstat (limited to 'synapse/rest/client/v1/push_rule.py')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index 3db38a949a..822c978e85 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -387,7 +387,7 @@ def _priority_class_from_spec(spec): def _priority_class_to_template_name(pc): if pc > PRIORITY_CLASS_MAP['override']: # per-device - prio_class_index = pc - len(PushRuleRestServlet.PRIORITY_CLASS_MAP) + prio_class_index = pc - len(PRIORITY_CLASS_MAP) return PRIORITY_CLASS_INVERSE_MAP[prio_class_index] else: return PRIORITY_CLASS_INVERSE_MAP[pc] |