diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-07-13 12:03:34 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-07-13 12:03:39 +0100 |
commit | ba22b6a456a58468d30c73ae9832ac6d7ea5d685 (patch) | |
tree | 198b3dfefd51989b1fddaf112716892c79b8f92f | |
parent | Merge pull request #3521 from matrix-org/rav/optimise_stream_change_cache (diff) | |
download | synapse-ba22b6a456a58468d30c73ae9832ac6d7ea5d685.tar.xz |
typo
-rw-r--r-- | synapse/handlers/room_list.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index 1abd45297b..828229f5c3 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -38,7 +38,7 @@ REMOTE_ROOM_LIST_POLL_INTERVAL = 60 * 1000 # This is used to indicate we should only return rooms published to the main list. -EMTPY_THIRD_PARTY_ID = ThirdPartyInstanceID(None, None) +EMPTY_THIRD_PARTY_ID = ThirdPartyInstanceID(None, None) class RoomListHandler(BaseHandler): @@ -50,7 +50,7 @@ class RoomListHandler(BaseHandler): def get_local_public_room_list(self, limit=None, since_token=None, search_filter=None, - network_tuple=EMTPY_THIRD_PARTY_ID,): + network_tuple=EMPTY_THIRD_PARTY_ID,): """Generate a local public room list. There are multiple different lists: the main one plus one per third @@ -87,7 +87,7 @@ class RoomListHandler(BaseHandler): @defer.inlineCallbacks def _get_public_room_list(self, limit=None, since_token=None, search_filter=None, - network_tuple=EMTPY_THIRD_PARTY_ID,): + network_tuple=EMPTY_THIRD_PARTY_ID,): if since_token and since_token != "END": since_token = RoomListNextBatch.from_token(since_token) else: |