root 1 year ago
parent
commit
ec4fe5a596
1 changed files with 2 additions and 1 deletions
  1. 2 1
      node/message.js

+ 2 - 1
node/message.js

@@ -606,6 +606,7 @@ us.send = function (response, messageinfo) {
                 _messagearr = _messageobj[i]; //获取word消息
                 //得到word所有的用户
                 for (j = 0; j < _messagearr.length; j++) {
+                    _messagearr[j].messageInfo.type = _messagearr[j].type;
                     //生成发送的消息结构体
                     _message = us.message(_messagearr[j].sendId, "us.cscl", _messagearr[j].messageInfo);
                     //添加消息列表
@@ -740,7 +741,7 @@ us.updatemindNetwork = function (messageInfo) {
 * @param {object} message 消息信息
 */
 us.updatecscl = function (messageInfo, classId, ty) {
-    messageInfo = messageInfo;
+    //messageInfo = messageInfo;
     if (us.cscl[classId]) {
         var i, j, _is;
         var _obj = us.cscl[classId].content;