diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-14 17:34:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-14 17:34:37 +0100 |
commit | 661c7117659118ed977f56a092525dbdae9dc67c (patch) | |
tree | 8284cb857d98c920bb66f70d504cf716d4a613c5 /synapse/storage/roommember.py | |
parent | Fix typo (diff) | |
download | synapse-661c7117659118ed977f56a092525dbdae9dc67c.tar.xz |
Start fixing places that use the data store.
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index c99cefbcfc..14c0152e8a 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -112,7 +112,7 @@ class RoomMemberStore(SQLBaseStore): args = [user_id] args.extend(membership_list) - where_clause "user_id = ? AND (%s)" % ( + where_clause = "user_id = ? AND (%s)" % ( " OR ".join(["membership = ?" for _ in membership_list]), ) |