elif not else if

pull/4736/head
Andrew Morgan 2019-02-25 17:28:19 +00:00
parent 8aaf7ffc44
commit 1330aa4a8f
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class RoomListHandler(BaseHandler):
# This is a non-federating room and the config has chosen not
# to show these rooms to other servers
chunk.append(None)
else if result and _matches_room_entry(result, search_filter):
elif result and _matches_room_entry(result, search_filter):
chunk.append(result)
@cachedInlineCallbacks(num_args=2, cache_context=True)