Merge branch 'openimsdk:main' into notificationUpdate

pull/1664/head
Brabem 2 years ago committed by GitHub
commit 173e43d7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -345,11 +345,7 @@ func (ws *WsServer) multiTerminalLoginChecker(clientOK bool, oldClients []*Clien
if !clientOK {
return
}
isDeleteUser := ws.clients.deleteClients(newClient.UserID, oldClients)
if isDeleteUser {
ws.onlineUserNum.Add(-1)
}
ws.clients.deleteClients(newClient.UserID, oldClients)
for _, c := range oldClients {
err := c.KickOnlineMessage()
if err != nil {

Loading…
Cancel
Save