File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
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,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 ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments