root há 1 ano atrás
pai
commit
fbab7fe377
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      node/message.js

+ 2 - 2
node/message.js

@@ -591,9 +591,9 @@ us.offLine = function () {
         _user = _connect[i];
         for (j in _user) {
             console.log(j)
-            console.log(_user[j].response.finished)
+            console.log(_user[j].response.connection.destroyed)
             //判断用户已下线
-            if (_user[j].response.finished) {
+            if (_user[j].response.connection.destroyed) {
                 us.deluser(j); //删除用户的数据
                 delete _user[j]
             }