Rename the 'do_users_share_a_room' to something slightly less verb-sounding

This commit is contained in:
Paul "LeoNerd" Evans 2014-09-02 16:16:51 +01:00
parent 967b45bc1a
commit da3e04df8b
4 changed files with 6 additions and 6 deletions

View file

@ -165,7 +165,7 @@ class RoomMemberStore(SQLBaseStore):
defer.returnValue(results)
@defer.inlineCallbacks
def do_users_share_a_room(self, user_list):
def user_rooms_intersect(self, user_list):
""" Checks whether a list of users share a room.
"""
user_list_clause = " OR ".join(["m.user_id = ?"] * len(user_list))