mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:54:52 -04:00
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.
This commit is contained in:
parent
1a94de60e8
commit
85d1e03b9d
3 changed files with 187 additions and 125 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue