mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 03:13:15 +08:00 
			
		
		
		
	online cache
This commit is contained in:
		
							parent
							
								
									f87ee44459
								
							
						
					
					
						commit
						1bfaf3e2d9
					
				@ -121,6 +121,7 @@ func (u *userMap) DeleteClients(userID string, clients []*Client) (isDeleteUser
 | 
			
		||||
		if _, ok := deleteAddr[client.ctx.GetRemoteAddr()]; ok {
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
		offline = append(offline, int32(client.PlatformID))
 | 
			
		||||
		result.Clients = append(result.Clients, client)
 | 
			
		||||
	}
 | 
			
		||||
	defer u.push(userID, result, offline)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user