mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 07:33:52 +01:00
Return before we log
This commit is contained in:
parent
926f29ea6d
commit
7529038e66
1 changed files with 5 additions and 4 deletions
|
@ -67,16 +67,17 @@ class RoomListHandler(BaseHandler):
|
||||||
appservice and network id to use an appservice specific one.
|
appservice and network id to use an appservice specific one.
|
||||||
Setting to None returns all public rooms across all lists.
|
Setting to None returns all public rooms across all lists.
|
||||||
"""
|
"""
|
||||||
logger.info(
|
|
||||||
"Getting public room list: limit=%r, since=%r, search=%r, network=%r",
|
|
||||||
limit, since_token, bool(search_filter), network_tuple,
|
|
||||||
)
|
|
||||||
if not self.config.enable_room_list_search:
|
if not self.config.enable_room_list_search:
|
||||||
return defer.succeed({
|
return defer.succeed({
|
||||||
"chunk": [],
|
"chunk": [],
|
||||||
"total_room_count_estimate": 0,
|
"total_room_count_estimate": 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
logger.info(
|
||||||
|
"Getting public room list: limit=%r, since=%r, search=%r, network=%r",
|
||||||
|
limit, since_token, bool(search_filter), network_tuple,
|
||||||
|
)
|
||||||
|
|
||||||
if search_filter:
|
if search_filter:
|
||||||
# We explicitly don't bother caching searches or requests for
|
# We explicitly don't bother caching searches or requests for
|
||||||
# appservice specific lists.
|
# appservice specific lists.
|
||||||
|
|
Loading…
Reference in a new issue