From d288d273e15c3686ff73b8cfd8c71707174dc173 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 20 Mar 2015 10:57:44 +0000 Subject: [PATCH] Generate transaction id in code --- synapse/storage/transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,