summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-02-12 19:19:37 +0000
committerMatthew Hodgson <matthew@matrix.org>2015-02-12 21:04:34 +0000
commit55e0916ffc0a4e2c7bff533c561e99889650c61d (patch)
treec9f4b587d9055eb7277e6a893fa08fec22fda634
parentOnly attempt to fetch presence state of JOINed members in room initialSync (S... (diff)
downloadsynapse-55e0916ffc0a4e2c7bff533c561e99889650c61d.tar.xz
Reindent code to be less human-readable to keep pep8 from complaining
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index c6d6188d9d..b00380387d 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -372,7 +372,7 @@ class MessageHandler(BaseHandler):
         room_members = [
             m for m in current_state.values()
             if m.type == EventTypes.Member
-                and m.content["membership"] == Membership.JOIN
+            and m.content["membership"] == Membership.JOIN
         ]
 
         presence_handler = self.hs.get_handlers().presence_handler