Change default timeout value from 0 to None

pull/4461/head
Andrew Morgan 2019-01-24 15:10:22 +00:00
parent 5b1dc94083
commit 075ff3ede9
1 changed files with 1 additions and 1 deletions

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: