@@ -271,7 +271,6 @@ async def _local_membership_update(
271271 membership : str ,
272272 allow_no_prev_events : bool = False ,
273273 prev_event_ids : Optional [List [str ]] = None ,
274- auth_event_ids : Optional [List [str ]] = None ,
275274 state_event_ids : Optional [List [str ]] = None ,
276275 txn_id : Optional [str ] = None ,
277276 ratelimit : bool = True ,
@@ -295,10 +294,6 @@ async def _local_membership_update(
295294 events should have a prev_event and we should only use this in special
296295 cases like MSC2716.
297296 prev_event_ids: The event IDs to use as the prev events
298- auth_event_ids:
299- The event ids to use as the auth_events for the new event.
300- Should normally be left as None, which will cause them to be calculated
301- based on the room state at the prev_events.
302297 state_event_ids:
303298 The full state at a given event. This is used particularly by the MSC2716
304299 /batch_send endpoint. One use case is the historical `state_events_at_start`;
@@ -361,7 +356,6 @@ async def _local_membership_update(
361356 txn_id = txn_id ,
362357 allow_no_prev_events = allow_no_prev_events ,
363358 prev_event_ids = prev_event_ids ,
364- auth_event_ids = auth_event_ids ,
365359 state_event_ids = state_event_ids ,
366360 require_consent = require_consent ,
367361 outlier = outlier ,
@@ -465,7 +459,6 @@ async def update_membership(
465459 historical : bool = False ,
466460 allow_no_prev_events : bool = False ,
467461 prev_event_ids : Optional [List [str ]] = None ,
468- auth_event_ids : Optional [List [str ]] = None ,
469462 state_event_ids : Optional [List [str ]] = None ,
470463 ) -> Tuple [str , int ]:
471464 """Update a user's membership in a room.
@@ -494,10 +487,6 @@ async def update_membership(
494487 events should have a prev_event and we should only use this in special
495488 cases like MSC2716.
496489 prev_event_ids: The event IDs to use as the prev events
497- auth_event_ids:
498- The event ids to use as the auth_events for the new event.
499- Should normally be left as None, which will cause them to be calculated
500- based on the room state at the prev_events.
501490 state_event_ids:
502491 The full state at a given event. This is used particularly by the MSC2716
503492 /batch_send endpoint. One use case is the historical `state_events_at_start`;
@@ -544,7 +533,6 @@ async def update_membership(
544533 historical = historical ,
545534 allow_no_prev_events = allow_no_prev_events ,
546535 prev_event_ids = prev_event_ids ,
547- auth_event_ids = auth_event_ids ,
548536 state_event_ids = state_event_ids ,
549537 )
550538
@@ -567,7 +555,6 @@ async def update_membership_locked(
567555 historical : bool = False ,
568556 allow_no_prev_events : bool = False ,
569557 prev_event_ids : Optional [List [str ]] = None ,
570- auth_event_ids : Optional [List [str ]] = None ,
571558 state_event_ids : Optional [List [str ]] = None ,
572559 ) -> Tuple [str , int ]:
573560 """Helper for update_membership.
@@ -598,10 +585,6 @@ async def update_membership_locked(
598585 events should have a prev_event and we should only use this in special
599586 cases like MSC2716.
600587 prev_event_ids: The event IDs to use as the prev events
601- auth_event_ids:
602- The event ids to use as the auth_events for the new event.
603- Should normally be left as None, which will cause them to be calculated
604- based on the room state at the prev_events.
605588 state_event_ids:
606589 The full state at a given event. This is used particularly by the MSC2716
607590 /batch_send endpoint. One use case is the historical `state_events_at_start`;
@@ -736,7 +719,6 @@ async def update_membership_locked(
736719 ratelimit = ratelimit ,
737720 allow_no_prev_events = allow_no_prev_events ,
738721 prev_event_ids = prev_event_ids ,
739- auth_event_ids = auth_event_ids ,
740722 state_event_ids = state_event_ids ,
741723 content = content ,
742724 require_consent = require_consent ,
@@ -961,7 +943,6 @@ async def update_membership_locked(
961943 txn_id = txn_id ,
962944 ratelimit = ratelimit ,
963945 prev_event_ids = latest_event_ids ,
964- auth_event_ids = auth_event_ids ,
965946 state_event_ids = state_event_ids ,
966947 content = content ,
967948 require_consent = require_consent ,
0 commit comments