diff --git a/lib/jabber.php b/lib/jabber.php index e2f7ca3c82..215cd55374 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -115,7 +115,7 @@ function jabber_connect($resource=NULL, $status=NULL, $priority=NULL) { } $conn->processUntil('session_start'); $conn->getRoster(); - $conn->presence($presence, $priority); + $conn->presence($presence, 'available', NULL, 'available', $priority); } return $conn; }