diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-05-23 11:17:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 11:17:42 +0100 |
commit | 85d1e03b9d50c1c64d2742ef3ec4f2dcd2bf7f9f (patch) | |
tree | 6185322d9454c8635ddbf0282ac93fbf0e71ceda /synapse/storage/events_worker.py | |
parent | Run black on synapse.crypto.keyring (#5232) (diff) | |
download | synapse-85d1e03b9d50c1c64d2742ef3ec4f2dcd2bf7f9f.tar.xz |
Simplifications and comments in do_auth (#5227)
I was staring at this function trying to figure out wtf it was actually doing. This is (hopefully) a non-functional refactor which makes it a bit clearer.
Diffstat (limited to 'synapse/storage/events_worker.py')
-rw-r--r-- | synapse/storage/events_worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py index 83ffae2132..21b353cad3 100644 --- a/synapse/storage/events_worker.py +++ b/synapse/storage/events_worker.py @@ -610,7 +610,7 @@ class EventsWorkerStore(SQLBaseStore): return res - return self.runInteraction("get_rejection_reasons", f) + return self.runInteraction("get_seen_events_with_rejections", f) def _get_total_state_event_counts_txn(self, txn, room_id): """ |