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
1b77bd69
Commit
1b77bd69
authored
6 years ago
by
Amber Brown
Browse files
Options
Downloads
Patches
Plain Diff
pep8
parent
41a5ba16
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/storage/user_directory.py
+1
-2
1 addition, 2 deletions
synapse/storage/user_directory.py
with
1 addition
and
2 deletions
synapse/storage/user_directory.py
+
1
−
2
View file @
1b77bd69
...
@@ -21,8 +21,8 @@ from six import iteritems
...
@@ -21,8 +21,8 @@ from six import iteritems
from
twisted.internet
import
defer
from
twisted.internet
import
defer
from
synapse.api.constants
import
EventTypes
,
JoinRules
from
synapse.api.constants
import
EventTypes
,
JoinRules
from
synapse.storage.engines
import
PostgresEngine
,
Sqlite3Engine
from
synapse.storage.background_updates
import
BackgroundUpdateStore
from
synapse.storage.background_updates
import
BackgroundUpdateStore
from
synapse.storage.engines
import
PostgresEngine
,
Sqlite3Engine
from
synapse.storage.state
import
StateFilter
from
synapse.storage.state
import
StateFilter
from
synapse.types
import
get_domain_from_id
,
get_localpart_from_id
from
synapse.types
import
get_domain_from_id
,
get_localpart_from_id
from
synapse.util.caches.descriptors
import
cached
,
cachedInlineCallbacks
from
synapse.util.caches.descriptors
import
cached
,
cachedInlineCallbacks
...
@@ -38,7 +38,6 @@ class UserDirectoryStore(BackgroundUpdateStore):
...
@@ -38,7 +38,6 @@ class UserDirectoryStore(BackgroundUpdateStore):
"
users_in_public_rooms_initial
"
,
self
.
_populate_users_in_public_rooms
"
users_in_public_rooms_initial
"
,
self
.
_populate_users_in_public_rooms
)
)
@defer.inlineCallbacks
@defer.inlineCallbacks
def
_populate_users_in_public_rooms
(
self
,
progress
,
batch_size
):
def
_populate_users_in_public_rooms
(
self
,
progress
,
batch_size
):
"""
"""
...
...
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