Merge pull request #3355 from matrix-org/rav/fix_federation_backfill

Fix federation backfill from sqlite servers
This commit is contained in:
Richard van der Hoff 2018-06-07 10:18:01 +01:00 committed by GitHub
commit e2acf536d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class StateGroupWorkerStore(SQLBaseStore):
for typ in types: for typ in types:
if typ[1] is None: if typ[1] is None:
where_clauses.append("(type = ?)") where_clauses.append("(type = ?)")
where_args.extend(typ[0]) where_args.append(typ[0])
wildcard_types = True wildcard_types = True
else: else:
where_clauses.append("(type = ? AND state_key = ?)") where_clauses.append("(type = ? AND state_key = ?)")