summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/jabber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index e2f7ca3c8..215cd5537 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;
}