mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
reply
This commit is contained in:
parent
2e1d852095
commit
edaa6aefe6
@ -188,6 +188,7 @@ func (p *Pusher) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws.MsgData,
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
log.ZDebug(ctx, "push result", "reply", reply)
|
||||||
if reply != nil && reply.SinglePushResult != nil {
|
if reply != nil && reply.SinglePushResult != nil {
|
||||||
wsResults = append(wsResults, reply.SinglePushResult...)
|
wsResults = append(wsResults, reply.SinglePushResult...)
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ func (m *msgServer) sendMsgSingleChat(ctx context.Context, req *msg.SendMsgReq)
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
conversationID := utils.GetConversationIDByMsg(req.MsgData)
|
conversationID := utils.GetConversationIDByMsg(req.MsgData)
|
||||||
isSend, err := m.modifyMessageByUserMessageReceiveOpt(ctx, req.MsgData.RecvID, req.MsgData.SendID, constant.SingleChatType, req)
|
isSend, err := m.modifyMessageByUserMessageReceiveOpt(ctx, req.MsgData.RecvID, conversationID, constant.SingleChatType, req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user