summary refs log tree commit diff
path: root/synapse/event_auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/event_auth.py')
-rw-r--r--synapse/event_auth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py

index 6109490b99..498a699290 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py
@@ -355,8 +355,6 @@ def _is_membership_change_allowed( raise AuthError(403, "You cannot knock for other users") elif target_in_room: raise AuthError(403, "You cannot knock on a room you are already in") - elif caller_knocked: - raise AuthError(403, "You already have a pending knock for this room") elif caller_invited: raise AuthError(403, "You are already invited to this room") elif target_banned: