diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-18 10:16:19 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-18 15:50:55 +0000 |
commit | 4eca8d3fb3d906b1bc5be6c8d4b98cf555e154b7 (patch) | |
tree | a8a511945a0aaa040dfd796a689a8465d01e9e76 /synapse/handlers/federation.py | |
parent | Merge pull request #4862 from matrix-org/erikj/dinsic-merged-master (diff) | |
download | synapse-4eca8d3fb3d906b1bc5be6c8d4b98cf555e154b7.tar.xz |
Add invite_list and cloning param to create room rule
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index f80486102a..a222d67190 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1299,7 +1299,7 @@ class FederationHandler(BaseHandler): raise SynapseError(403, "This server does not accept room invites") if not self.spam_checker.user_may_invite( - event.sender, event.state_key, event.room_id, + event.sender, event.state_key, event.room_id, new_room=False, ): raise SynapseError( 403, "This user is not permitted to send invites to this server/user" |