mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 12:23:53 +01:00
Change default timeout value from 0 to None
This commit is contained in:
parent
5b1dc94083
commit
075ff3ede9
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class RoomListHandler(BaseHandler):
|
||||||
def _get_public_room_list(self, limit=None, since_token=None,
|
def _get_public_room_list(self, limit=None, since_token=None,
|
||||||
search_filter=None,
|
search_filter=None,
|
||||||
network_tuple=EMPTY_THIRD_PARTY_ID,
|
network_tuple=EMPTY_THIRD_PARTY_ID,
|
||||||
timeout=0,):
|
timeout=None,):
|
||||||
if since_token and since_token != "END":
|
if since_token and since_token != "END":
|
||||||
since_token = RoomListNextBatch.from_token(since_token)
|
since_token = RoomListNextBatch.from_token(since_token)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue