Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
ba22b6a4
Commit
ba22b6a4
authored
6 years ago
by
Matthew Hodgson
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
6dff49b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/handlers/room_list.py
+3
-3
3 additions, 3 deletions
synapse/handlers/room_list.py
with
3 additions
and
3 deletions
synapse/handlers/room_list.py
+
3
−
3
View file @
ba22b6a4
...
@@ -38,7 +38,7 @@ REMOTE_ROOM_LIST_POLL_INTERVAL = 60 * 1000
...
@@ -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.
# This is used to indicate we should only return rooms published to the main list.
EM
T
PY_THIRD_PARTY_ID
=
ThirdPartyInstanceID
(
None
,
None
)
EMP
T
Y_THIRD_PARTY_ID
=
ThirdPartyInstanceID
(
None
,
None
)
class
RoomListHandler
(
BaseHandler
):
class
RoomListHandler
(
BaseHandler
):
...
@@ -50,7 +50,7 @@ class RoomListHandler(BaseHandler):
...
@@ -50,7 +50,7 @@ class RoomListHandler(BaseHandler):
def
get_local_public_room_list
(
self
,
limit
=
None
,
since_token
=
None
,
def
get_local_public_room_list
(
self
,
limit
=
None
,
since_token
=
None
,
search_filter
=
None
,
search_filter
=
None
,
network_tuple
=
EM
T
PY_THIRD_PARTY_ID
,):
network_tuple
=
EMP
T
Y_THIRD_PARTY_ID
,):
"""
Generate a local public room list.
"""
Generate a local public room list.
There are multiple different lists: the main one plus one per third
There are multiple different lists: the main one plus one per third
...
@@ -87,7 +87,7 @@ class RoomListHandler(BaseHandler):
...
@@ -87,7 +87,7 @@ class RoomListHandler(BaseHandler):
@defer.inlineCallbacks
@defer.inlineCallbacks
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
=
EM
T
PY_THIRD_PARTY_ID
,):
network_tuple
=
EMP
T
Y_THIRD_PARTY_ID
,):
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment