mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 17:45:59 +08:00
push message modify
This commit is contained in:
@@ -94,8 +94,8 @@ func (r *RPCServer) OnlinePushMsg(_ context.Context, in *pbRelay.OnlinePushMsgRe
|
||||
}
|
||||
//Single chat sender synchronization message
|
||||
if in.MsgData.GetSessionType() == constant.SingleChatType {
|
||||
for k, v := range ws.getSingleUserAllConn(recvID) {
|
||||
_ = sendMsgToUser(v, replyBytes.Bytes(), in, k, recvID)
|
||||
for k, v := range ws.getSingleUserAllConn(in.MsgData.SendID) {
|
||||
_ = sendMsgToUser(v, replyBytes.Bytes(), in, k, in.MsgData.SendID)
|
||||
}
|
||||
}
|
||||
if !tag {
|
||||
|
||||
Reference in New Issue
Block a user