check shell update

This commit is contained in:
Gordon
2022-03-18 20:06:52 +08:00
parent 6b3d984ca6
commit 25adfe5b28
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -46,6 +46,7 @@ func userRelationshipVerification(data *pbChat.SendMsgReq) (bool, int32, string)
if data.MsgData.SessionType == constant.GroupChatType {
return true, 0, ""
}
log.NewDebug(data.OperationID, config.Config.MessageVerify.FriendVerify)
req := &rpc.IsInBlackListReq{CommID: &rpc.CommID{}}
req.CommID.OperationID = data.OperationID
req.CommID.OpUserID = data.MsgData.RecvID
@@ -76,10 +77,10 @@ func userRelationshipVerification(data *pbChat.SendMsgReq) (bool, int32, string)
return friendReply.Response, 601, "not friend"
}
log.NewDebug(data.OperationID, config.Config.MessageVerify.FriendVerify, friendReply.Response)
return true, 0, ""
} else {
return true, 0, ""
}
return true, 0, ""
}
func (rpc *rpcChat) encapsulateMsgData(msg *sdk_ws.MsgData) {
msg.ServerMsgID = GetMsgID(msg.SendID)