mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 13:41:55 +00:00
elif not else if
This commit is contained in:
parent
8aaf7ffc44
commit
1330aa4a8f
@ -308,7 +308,7 @@ class RoomListHandler(BaseHandler):
|
|||||||
# 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)
|
||||||
else if result and _matches_room_entry(result, search_filter):
|
elif result and _matches_room_entry(result, search_filter):
|
||||||
chunk.append(result)
|
chunk.append(result)
|
||||||
|
|
||||||
@cachedInlineCallbacks(num_args=2, cache_context=True)
|
@cachedInlineCallbacks(num_args=2, cache_context=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user