got the presence bit.

This commit is contained in:
friendica 2014-04-26 16:47:43 -07:00
parent e40d226252
commit dfe0d230f5

View File

@ -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);