0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 15:01:23 +01:00
This commit is contained in:
Kegan Dougal 2015-03-02 11:23:46 +00:00
parent 377ae369c1
commit cb97ea3ec2

View file

@ -187,7 +187,7 @@ class RoomMemberStore(SQLBaseStore):
)
def _get_rooms_for_user_where_membership_is_txn(self, txn, user_id,
membership_list):
membership_list):
where_clause = "user_id = ? AND (%s)" % (
" OR ".join(["membership = ?" for _ in membership_list]),
)