diff options
Diffstat (limited to 'mod/ping.php')
-rw-r--r-- | mod/ping.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php index b9d9a9c77..ac12e2fc0 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -73,7 +73,7 @@ function ping_init(&$a) { } } - q("delete from chatpresence where cp_last < UTC_TIMESTAMP() - INTERVAL 3 MINUTE"); + q("delete from chatpresence where cp_last < UTC_TIMESTAMP() - INTERVAL 3 MINUTE and cp_client != 'auto' "); if((! local_user()) || ($result['invalid'])) { echo json_encode($result); |