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

Commit bdc6ae1

Browse files
committed
Update a comment.
1 parent fad13e0 commit bdc6ae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/handlers/room_member.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ async def _local_membership_update(
295295
newly_joined = prev_member_event.membership != Membership.JOIN
296296
is_invite = prev_member_event.membership == Membership.INVITE
297297

298-
# If the member is not already in the room, check if they should be
299-
# allowed access via membership in a space.
298+
# If the member is not already in the room and is not accepting an invite,
299+
# check if they should be allowed access via membership in a space.
300300
if (
301301
newly_joined
302302
and not is_invite

0 commit comments

Comments
 (0)