You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
// 用户被挤下线
func CrowdedOffline(user_id int64) {
manager := new(ImClientManager); // 这个写有bug呀,这个是明显错误哦
if conn, ok := manager.ImClientMap[user_id]; ok {
jsonMessage, _ := json.Marshal(&ImOnlineMsg{Code: CrowdedOk, Msg: "账号已在别处登录", ID: conn.ID, ChannelType: 3})
//conn.Send <- jsonMessage
}