Change default timeout value from 0 to None

This commit is contained in:
Andrew Morgan 2019-01-24 15:10:22 +00:00
parent 5b1dc94083
commit 075ff3ede9

View File

@ -94,7 +94,7 @@ class RoomListHandler(BaseHandler):
def _get_public_room_list(self, limit=None, since_token=None,
search_filter=None,
network_tuple=EMPTY_THIRD_PARTY_ID,
timeout=0,):
timeout=None,):
if since_token and since_token != "END":
since_token = RoomListNextBatch.from_token(since_token)
else: