mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 19:33:51 +01:00
fixup
This commit is contained in:
parent
797b6a63fc
commit
c0332d095f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -385,7 +385,7 @@ class UserDirectoryStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def get_rooms_user_is_in(self, user_id):
|
||||
def get_user_dir_rooms_user_is_in(self, user_id):
|
||||
"""
|
||||
Returns the rooms that a user is in.
|
||||
|
||||
|
|
Loading…
Reference in a new issue