From dfe0d230f50f3b24b771b4bedc8c965ccc070964 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 26 Apr 2014 16:47:43 -0700 Subject: got the presence bit. --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') 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); -- cgit v1.2.3