Cleaner chunk logic
This commit is contained in:
parent
a712aa3a9c
commit
c4414768af
|
@ -330,8 +330,7 @@ class RoomListHandler(BaseHandler):
|
|||
if not result:
|
||||
return
|
||||
|
||||
if from_federation:
|
||||
if "m.federate" in result and not result["m.federate"]:
|
||||
if from_federation and not result.get("m.federate", True):
|
||||
# This is a room that other servers cannot join. Do not show them
|
||||
# this room.
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue