mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 03:13:15 +08:00 
			
		
		
		
	fix: onlineUserIDs
This commit is contained in:
		
							parent
							
								
									05a3810b05
								
							
						
					
					
						commit
						ae1b4e5c04
					
				@ -202,7 +202,7 @@ func (c *ConsumerHandler) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws.
 | 
			
		||||
	var result []*msggateway.SingleMsgToUserResults
 | 
			
		||||
	if len(onlineUserIDs) > 0 {
 | 
			
		||||
		var err error
 | 
			
		||||
		result, err = c.onlinePusher.GetConnsAndOnlinePush(ctx, msg, pushToUserIDs)
 | 
			
		||||
		result, err = c.onlinePusher.GetConnsAndOnlinePush(ctx, msg, onlineUserIDs)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return nil, err
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user