diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-29 12:06:28 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 12:06:28 +0000 |
commit | 64c1bd1d21e94bb08082ac63992697f99192912b (patch) | |
tree | 556599ee64596270707be788d9cc8d1b5620d927 /synapse/api/auth.py | |
parent | Fix test to use valid event format (diff) | |
download | synapse-64c1bd1d21e94bb08082ac63992697f99192912b.tar.xz |
Remove dead function
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r-- | synapse/api/auth.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 1a47fede71..2d78a257d3 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -551,17 +551,6 @@ class Auth(object): return self.store.is_server_admin(user) @defer.inlineCallbacks - def add_auth_events(self, builder, context): - prev_state_ids = yield context.get_prev_state_ids(self.store) - auth_ids = yield self.compute_auth_events(builder, prev_state_ids) - - auth_events_entries = yield self.store.add_event_hashes( - auth_ids - ) - - builder.auth_events = auth_events_entries - - @defer.inlineCallbacks def compute_auth_events(self, event, current_state_ids, for_verification=False): if event.type == EventTypes.Create: defer.returnValue([]) |