Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Apr 7, 2021
1 parent fad13e0 commit bdc6ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/handlers/room_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ async def _local_membership_update(
newly_joined = prev_member_event.membership != Membership.JOIN
is_invite = prev_member_event.membership == Membership.INVITE

# If the member is not already in the room, check if they should be
# allowed access via membership in a space.
# If the member is not already in the room and is not accepting an invite,
# check if they should be allowed access via membership in a space.
if (
newly_joined
and not is_invite
Expand Down

0 comments on commit bdc6ae1

Please sign in to comment.