summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-04-03 14:32:20 +0100
committerGitHub <noreply@github.com>2019-04-03 14:32:20 +0100
commit4a4d5c4fd6552037a8660b18360ac7e0050b873f (patch)
treef0c4256ae44418064721a27c9d403acbbdfd70f2 /synapse/storage
parentRewrite KeyringTestCase as a HomeServerTestCase (#4986) (diff)
downloadsynapse-4a4d5c4fd6552037a8660b18360ac7e0050b873f.tar.xz
Fix grammar and document get_current_users_in_room (#4998)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/user_directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py
index 4d60a5726f..83466e25d9 100644
--- a/synapse/storage/user_directory.py
+++ b/synapse/storage/user_directory.py
@@ -194,7 +194,7 @@ class UserDirectoryStore(StateDeltasStore, BackgroundUpdateStore):
                     room_id
                 )
 
-                users_with_profile = yield state.get_current_user_in_room(room_id)
+                users_with_profile = yield state.get_current_users_in_room(room_id)
                 user_ids = set(users_with_profile)
 
                 # Update each user in the user directory.