summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py
index 363b10e3b7..a6f890e0b6 100644
--- a/synapse/handlers/_base.py
+++ b/synapse/handlers/_base.py
@@ -221,7 +221,8 @@ class BaseHandler(object):
                 e.event_id for e in context.current_state.values()
             )
 
-            if (prev_member_event and
+            if (
+                prev_member_event and
                 prev_member_event.event_id not in context_event_ids
             ):
                 # The prev_member_event is missing from context, so it must