summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-06-07 10:18:01 +0100
committerGitHub <noreply@github.com>2018-06-07 10:18:01 +0100
commite2acf536d4987a3db0db81ea352d546e6e8c7793 (patch)
treeee614a971df5e756bff1e8eadd3a19152ee606d8 /synapse
parentMerge pull request #3356 from matrix-org/rav/add_missing_attr_dep (diff)
parentFix sql error in _get_state_groups_from_groups (diff)
downloadsynapse-e2acf536d4987a3db0db81ea352d546e6e8c7793.tar.xz
Merge pull request #3355 from matrix-org/rav/fix_federation_backfill
Fix federation backfill from sqlite servers
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index c11bc52177..85b8ec2b8f 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -272,7 +272,7 @@ class StateGroupWorkerStore(SQLBaseStore):
                 for typ in types:
                     if typ[1] is None:
                         where_clauses.append("(type = ?)")
-                        where_args.extend(typ[0])
+                        where_args.append(typ[0])
                         wildcard_types = True
                     else:
                         where_clauses.append("(type = ? AND state_key = ?)")