diff --git a/synapse/storage/state.py b/synapse/storage/state.py index c11bc5217745b4c475c75ee290352ee8f8d06c8f..85b8ec2b8f8f8b655450b292e8dad878a9fc10f4 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 = ?)")