Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into clokep/thread-root…
Browse files Browse the repository at this point in the history
…-rels
  • Loading branch information
clokep committed Oct 13, 2022
2 parents 0f031b1 + 2019b60 commit 4064a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/14171.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Experimental support for [MSC3856](https://github.com/matrix-org/matrix-spec-proposals/pull/3856): threads list API.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def threads_backfill_txn(txn: LoggingTransaction) -> int:
if isinstance(txn.database_engine, PostgresEngine):
txn.execute_values(sql % ("?",), rows, fetch=False)
else:
txn.execute_batch(sql % ("?, ?, ?, ?, ?",), rows)
txn.execute_batch(sql % ("(?, ?, ?, ?, ?)",), rows)

# Mark the progress.
self.db_pool.updates._background_update_progress_txn(
Expand Down

0 comments on commit 4064a0f

Please sign in to comment.