diff options
author | friendica <info@friendica.com> | 2014-04-26 16:47:43 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-26 16:47:43 -0700 |
commit | dfe0d230f50f3b24b771b4bedc8c965ccc070964 (patch) | |
tree | cf5fe82d0ff793ee041fd51b50c04b01edd2bd61 /mod/ping.php | |
parent | e40d2262527df91fe0161d18f2304f7095481874 (diff) | |
download | volse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.tar.gz volse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.tar.bz2 volse-hubzilla-dfe0d230f50f3b24b771b4bedc8c965ccc070964.zip |
got the presence bit.
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); |