mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-13 13:59:20 +08:00
msg
This commit is contained in:
parent
c7684fe026
commit
99429a75fa
@ -65,8 +65,7 @@ func (m *msgServer) sendMsgSingleChat(ctx context.Context, req *msg.SendMsgReq)
|
||||
|
||||
var isSend bool = true
|
||||
conversationID := utils.GetConversationIDByMsg(req.MsgData)
|
||||
|
||||
if utils.MsgIsNotification(req.MsgData) {
|
||||
if !utils.IsNotification(conversationID) {
|
||||
isSend, err = m.modifyMessageByUserMessageReceiveOpt(ctx, req.MsgData.RecvID, conversationID, constant.SingleChatType, req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user