summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/transactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index 92eec69ef4..08e481a36f 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -130,7 +130,7 @@ class TransactionStore(SQLBaseStore):
 
         query = SentTransactions.insert_statement()
         txn.execute(query, SentTransactions.EntryType(
-            None,
+            self.get_next_stream_id(),
             transaction_id=transaction_id,
             destination=destination,
             ts=origin_server_ts,