File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff line change @@ -916,24 +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 
920-         if  prev_event_ids  is  not None :
921-             return  await  self ._local_membership_update (
922-                 requester = requester ,
923-                 target = target ,
924-                 room_id = room_id ,
925-                 membership = effective_membership_state ,
926-                 txn_id = txn_id ,
927-                 ratelimit = ratelimit ,
928-                 prev_event_ids = prev_event_ids ,
929-                 state_event_ids = state_event_ids ,
930-                 depth = depth ,
931-                 content = content ,
932-                 require_consent = require_consent ,
933-                 outlier = outlier ,
934-                 origin_server_ts = origin_server_ts ,
935-             )
936- 
937919        latest_event_ids  =  await  self .store .get_prev_events_for_room (room_id )
938920
939921        is_partial_state_room  =  await  self .store .is_partial_state_room (room_id )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments