vali 6 years ago
parent
commit
e6ec97cd9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -112,7 +112,7 @@ class Events
         }
         }
         unset($advertisement);
         unset($advertisement);
 
 
-        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, date('Y-m-d H:i:s') . '-' . $_SESSION['remotip'] . ':' . $_SESSION['remotport']);
+        self::$redis->hset(self::WEBSOCKALLUSER, $client_id, json_encode(array_merge($_SERVER,['time'=>date('H:i:s')])));
     }
     }
 
 
     /**
     /**