mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-14 09:07:07 +08:00
ws support same terminal login
This commit is contained in:
parent
40a7bb9d48
commit
c8038213c7
@ -352,7 +352,7 @@ func (ws *WServer) addUserConn(uid string, platformID int, conn *UserConn, token
|
||||
log.Debug(operationID, "user not first come in, add conn ", uid, platformID, conn, oldConnMap)
|
||||
} else {
|
||||
i := make(map[int][]*UserConn)
|
||||
conns := make([]*UserConn, 2)
|
||||
conns := make([]*UserConn, 1)
|
||||
conns = append(conns, conn)
|
||||
i[platformID] = conns
|
||||
ws.wsUserToConn[uid] = i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user