syntax derp

This commit is contained in:
Andrew Morgan 2019-02-25 15:27:17 +00:00
parent 84c0a20dfe
commit 8aaf7ffc44
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ class RoomListHandler(BaseHandler):
num_joined_users) num_joined_users)
if from_federation and not self.config.allow_non_federated_in_public_rooms: 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 # This is a non-federating room and the config has chosen not
# to show these rooms to other servers # to show these rooms to other servers
chunk.append(None) chunk.append(None)