diff options
author | David Baker <dave@matrix.org> | 2017-10-10 15:53:34 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-10-10 15:53:34 +0100 |
commit | 81a5e0073cbca1ed469fdae94150de3059e5c3e3 (patch) | |
tree | 43f64345d56e6e410c7aaff041165fb58e553641 /synapse/push/push_rule_evaluator.py | |
parent | Don't KeyError if no power_levels event (diff) | |
download | synapse-81a5e0073cbca1ed469fdae94150de3059e5c3e3.tar.xz |
pep8
Diffstat (limited to 'synapse/push/push_rule_evaluator.py')
-rw-r--r-- | synapse/push/push_rule_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/push_rule_evaluator.py b/synapse/push/push_rule_evaluator.py index 5011bef4f1..3601f2d365 100644 --- a/synapse/push/push_rule_evaluator.py +++ b/synapse/push/push_rule_evaluator.py @@ -41,7 +41,7 @@ def _sender_notification_permission(ev, condition, sender_power_level, power_lev notif_levels = power_levels.get('notifications', {}) room_notif_level = notif_levels.get(notif_level_key, 50) - return sender_power_level >= room_notif_level; + return sender_power_level >= room_notif_level def _test_ineq_condition(condition, number): |