diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-05 18:00:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-05 18:00:51 +0000 |
commit | f23af34729e0e226f0fe1dc505d13ce589a8afae (patch) | |
tree | 379600a3af98606ae834275c44289516f9c47689 /synapse/handlers/_base.py | |
parent | Add PR (diff) | |
parent | Merge pull request #350 from matrix-org/erikj/search (diff) | |
download | synapse-f23af34729e0e226f0fe1dc505d13ce589a8afae.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.11.0
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index a9e43052b7..eef325a94b 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -21,7 +21,6 @@ from synapse.api.constants import Membership, EventTypes from synapse.types import UserID, RoomAlias from synapse.util.logcontext import PreserveLoggingContext -from synapse.util import third_party_invites import logging @@ -192,16 +191,6 @@ class BaseHandler(object): ) ) - if ( - event.type == EventTypes.Member and - event.content["membership"] == Membership.JOIN and - third_party_invites.join_has_third_party_invite(event.content) - ): - yield third_party_invites.check_key_valid( - self.hs.get_simple_http_client(), - event - ) - federation_handler = self.hs.get_handlers().federation_handler if event.type == EventTypes.Member: |