|
|
|
@ -44,8 +44,8 @@ func (r *RPCServer) GetSingleUserMsgForPushPlatforms(operationID string, msgData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (r *RPCServer) GetSingleUserMsgForPush(operationID string, msgData *sdk_ws.MsgData, pushToUserID string, platformID int) *sdk_ws.MsgDataList {
|
|
|
|
|
msgData.MsgDataList = nil
|
|
|
|
|
return &sdk_ws.MsgDataList{}
|
|
|
|
|
//msgData.MsgDataList = nil
|
|
|
|
|
return &sdk_ws.MsgDataList{MsgDataList: []*sdk_ws.MsgData{msgData}}
|
|
|
|
|
|
|
|
|
|
//userConn := ws.getUserConn(pushToUserID, platformID)
|
|
|
|
|
//if userConn == nil {
|
|
|
|
|