mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:34:51 -04:00
Rename the 'do_users_share_a_room' to something slightly less verb-sounding
This commit is contained in:
parent
967b45bc1a
commit
da3e04df8b
4 changed files with 6 additions and 6 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue