summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-02-25 15:27:17 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-02-25 15:27:17 +0000
commit8aaf7ffc4415e9f7da2d34448b29fb2d0cb80574 (patch)
tree3dff23c20429576392fe19f3883357fd7f767ce5
parentSimplify call to generate_room_entry (diff)
downloadsynapse-8aaf7ffc4415e9f7da2d34448b29fb2d0cb80574.tar.xz
syntax derp
-rw-r--r--synapse/handlers/room_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index 69b0bc3dd1..b7f450e719 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -304,7 +304,7 @@ class RoomListHandler(BaseHandler):
             num_joined_users)
 
         if from_federation and not self.config.allow_non_federated_in_public_rooms:
-            if result["m.federate"] = False:
+            if result["m.federate"] == False:
                 # This is a non-federating room and the config has chosen not
                 # to show these rooms to other servers
                 chunk.append(None)