online cache

pull/2393/head
withchao 1 year ago
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…
Cancel
Save