diff options
author | Patrick Cloke <patrickc@matrix.org> | 2021-04-14 12:33:37 -0400 |
---|---|---|
committer | Patrick Cloke <patrickc@matrix.org> | 2021-04-14 12:33:37 -0400 |
commit | e8816c6aced208cdf1310393a212b5109892ffbf (patch) | |
tree | be614725637438d22494c9b48adf277fecc89445 /tests/test_federation.py | |
parent | Check for space membership during a remote join of a restricted room. (#9763) (diff) | |
download | synapse-e8816c6aced208cdf1310393a212b5109892ffbf.tar.xz |
Revert "Check for space membership during a remote join of a restricted room. (#9763)"
This reverts commit cc51aaaa7adb0ec2235e027b5184ebda9b660ec4. The PR was prematurely merged and not yet approved.
Diffstat (limited to '')
-rw-r--r-- | tests/test_federation.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_federation.py b/tests/test_federation.py index 0a3a996ec1..86a44a13da 100644 --- a/tests/test_federation.py +++ b/tests/test_federation.py @@ -75,10 +75,8 @@ class MessageAcceptTests(unittest.HomeserverTestCase): ) self.handler = self.homeserver.get_federation_handler() - self.handler._check_event_auth = ( - lambda origin, event, context, state, auth_events, backfilled: succeed( - context - ) + self.handler.do_auth = lambda origin, event, context, auth_events: succeed( + context ) self.client = self.homeserver.get_federation_client() self.client._check_sigs_and_hash_and_fetch = lambda dest, pdus, **k: succeed( |