mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 18:04:49 -04:00
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.
This commit is contained in:
parent
ebc5ed1296
commit
bd2e1a2aa8
3 changed files with 16 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue