mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-22 02:00:40 +00:00
Fix bug when nodePush dies
This commit is contained in:
parent
fa1e296f77
commit
b3c2df7f30
@ -167,7 +167,7 @@ class Room extends \chat\data\CHATDatabaseObject implements \wcf\system\request\
|
||||
* @return \wcf\data\user\UserList
|
||||
*/
|
||||
public static function getDeadUsers() {
|
||||
if (\wcf\system\nodePush\NodePushHandler::getInstance()->isRunning()) {
|
||||
if (\wcf\system\nodePush\NodePushHandler::getInstance()->isEnabled()) {
|
||||
$time = TIME_NOW - 120;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user