summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-19 13:36:04 +0100
committerErik Johnston <erik@matrix.org>2019-07-19 13:36:04 +0100
commitbd2e1a2aa86b81d232f9d14d2a82a04de4b1643d (patch)
tree2aac94bda64329e41cb0169f42efebdc2a1ea756 /synapse/storage/roommember.py
parentUpdate comment for new column (diff)
downloadsynapse-bd2e1a2aa86b81d232f9d14d2a82a04de4b1643d.tar.xz
LoggingTransaction accepts None for callback lists.
Its a bit disingenuousto give LoggingTransaction lists to append
callbacks to if we're not going to run the callbacks.
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 6541da3b8a..257bcdb2f8 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -70,8 +70,6 @@ class RoomMemberWorkerStore(EventsWorkerStore):
             db_conn.cursor(),
             name="_check_safe_current_state_events_membership_updated",
             database_engine=self.database_engine,
-            after_callbacks=[],
-            exception_callbacks=[],
         )
         self._check_safe_current_state_events_membership_updated_txn(txn)
         txn.close()