summary refs log tree commit diff
path: root/synapse/storage/transactions.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-20 10:57:44 +0000
committerErik Johnston <erik@matrix.org>2015-03-20 10:57:44 +0000
commitd288d273e15c3686ff73b8cfd8c71707174dc173 (patch)
tree83c3de4779b168c2cabd021effb78e170d57fe18 /synapse/storage/transactions.py
parentdecode_result takes an iterable (diff)
downloadsynapse-d288d273e15c3686ff73b8cfd8c71707174dc173.tar.xz
Generate transaction id in code
Diffstat (limited to 'synapse/storage/transactions.py')
-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,