mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 18:04:49 -04:00
Remove concept of context.auth_events, instead use context.current_state
This commit is contained in:
parent
e7ce5d8b06
commit
b2e6ee5b43
5 changed files with 7 additions and 33 deletions
|
@ -430,12 +430,6 @@ class Auth(object):
|
|||
|
||||
builder.auth_events = auth_events_entries
|
||||
|
||||
context.auth_events = {
|
||||
k: v
|
||||
for k, v in context.current_state.items()
|
||||
if v.type in AuthEventTypes
|
||||
}
|
||||
|
||||
def compute_auth_events(self, event, current_state):
|
||||
if event.type == EventTypes.Create:
|
||||
return []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue