diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-03-13 01:30:54 +1100 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2019-03-13 01:30:54 +1100 |
commit | c0332d095f6116c1e8af2738bcc8f1fbe5b4432c (patch) | |
tree | 26ce0d79fd19a93af8408aa2eef8401e7deec63a /synapse/handlers/user_directory.py | |
parent | fixup (diff) | |
download | synapse-c0332d095f6116c1e8af2738bcc8f1fbe5b4432c.tar.xz |
fixup
Diffstat (limited to 'synapse/handlers/user_directory.py')
-rw-r--r-- | synapse/handlers/user_directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/user_directory.py b/synapse/handlers/user_directory.py index f9f7b8abd0..d92f8c529c 100644 --- a/synapse/handlers/user_directory.py +++ b/synapse/handlers/user_directory.py @@ -517,7 +517,7 @@ class UserDirectoryHandler(object): yield self.store.remove_user_who_share_room(user_id, room_id) # Are they still in any rooms? If not, remove them entirely. - rooms_user_is_in = yield self.store.get_rooms_user_is_in(user_id) + rooms_user_is_in = yield self.store.get_user_dir_rooms_user_is_in(user_id) if len(rooms_user_is_in) == 0: yield self.store.remove_from_user_dir(user_id) |