mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
remove online offline split
This commit is contained in:
parent
67807a3aa7
commit
7c90baf7bf
@ -275,12 +275,12 @@ func (rpc *rpcChat) SendMsg(_ context.Context, pb *pbChat.SendMsgReq) (*pbChat.S
|
|||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
m := make(map[string][]string, 2)
|
m := make(map[string][]string, 2)
|
||||||
if len(memberUserIDList) > GroupMemberNum {
|
//if len(memberUserIDList) > GroupMemberNum {
|
||||||
getOnlineAndOfflineUserIDList(memberUserIDList, m, pb.OperationID)
|
// getOnlineAndOfflineUserIDList(memberUserIDList, m, pb.OperationID)
|
||||||
log.Debug(pb.OperationID, m[constant.OnlineStatus], m[constant.OfflineStatus])
|
// log.Debug(pb.OperationID, m[constant.OnlineStatus], m[constant.OfflineStatus])
|
||||||
} else {
|
//} else {
|
||||||
m[constant.OnlineStatus] = memberUserIDList
|
m[constant.OnlineStatus] = memberUserIDList
|
||||||
}
|
//}
|
||||||
|
|
||||||
log.Debug(pb.OperationID, "send msg cost time1 ", db.GetCurrentTimestampByMill()-newTime, pb.MsgData.ClientMsgID)
|
log.Debug(pb.OperationID, "send msg cost time1 ", db.GetCurrentTimestampByMill()-newTime, pb.MsgData.ClientMsgID)
|
||||||
newTime = db.GetCurrentTimestampByMill()
|
newTime = db.GetCurrentTimestampByMill()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user