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,