Skip to content

Commit 85a9149

Browse files
committed
Remove extra related changes
See matrix-org/synapse#11243 Also see matrix-org/synapse#9247
1 parent a706b7b commit 85a9149

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

synapse/handlers/message.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,6 @@ async def create_new_client_event(
12221222
if state_event_ids is not None:
12231223
# Do a quick check to make sure that prev_event_ids is present to
12241224
# make the type-checking around `builder.build` happy.
1225-
# prev_event_ids could be an empty array though.
12261225
assert prev_event_ids is not None
12271226

12281227
temp_event = await builder.build(

synapse/handlers/room_member.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ async def update_membership_locked(
916916
)
917917
# InviteRule.IGNORE is handled at the sync layer.
918918

919-
# An empty prev_events list is allowed as long as the auth_event_ids are present
920919
if prev_event_ids is not None:
921920
return await self._local_membership_update(
922921
requester=requester,

0 commit comments

Comments
 (0)