mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 11:22:10 +08:00 
			
		
		
		
	fix: search log
This commit is contained in:
		
							parent
							
								
									643ed9c8e7
								
							
						
					
					
						commit
						84e78edc2f
					
				@ -119,6 +119,7 @@ func (u *userDatabase) InitOnce(ctx context.Context, users []*model.User) error
 | 
			
		||||
 | 
			
		||||
// FindWithError Get the information of the specified user and return an error if the userID is not found.
 | 
			
		||||
func (u *userDatabase) FindWithError(ctx context.Context, userIDs []string) (users []*model.User, err error) {
 | 
			
		||||
	userIDs = datautil.Distinct(userIDs)
 | 
			
		||||
	users, err = u.cache.GetUsersInfo(ctx, userIDs)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user