mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 00:10:39 -05:00
Fix SQL for postgres again
This commit is contained in:
parent
3e573a5c6b
commit
df7cf6c0eb
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ class RoomMemberStore(SQLBaseStore):
|
|||
|
||||
def _get_rooms_for_user_where_membership_is_txn(self, txn, user_id,
|
||||
membership_list):
|
||||
where_clause = "user_id = ? AND (%s) AND forgotten == 0" % (
|
||||
where_clause = "user_id = ? AND (%s) AND forgotten = 0" % (
|
||||
" OR ".join(["membership = ?" for _ in membership_list]),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue