summary refs log tree commit diff
path: root/synapse/push/push_rule_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/push/push_rule_evaluator.py')
-rw-r--r--synapse/push/push_rule_evaluator.py2
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):