mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 19:46:57 +08:00
send message remove online status split
This commit is contained in:
parent
d8ce122254
commit
38ded2c43d
@ -280,12 +280,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