aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-26 16:47:43 -0700
committerfriendica <info@friendica.com>2014-04-26 16:47:43 -0700
commitdfe0d230f50f3b24b771b4bedc8c965ccc070964 (patch)
treecf5fe82d0ff793ee041fd51b50c04b01edd2bd61
parente40d2262527df91fe0161d18f2304f7095481874 (diff)
downloadvolse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.tar.gz
volse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.tar.bz2
volse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.zip
got the presence bit.
-rw-r--r--mod/ping.php2
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);