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 f89def25e..504e050ce 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -69,7 +69,7 @@ function jabber_connect($resource=NULL, $status=NULL, $priority=NULL) {
}
$conn->processUntil('session_start');
# $conn->getRoster();
- $conn->presence($presence, 'available', NULL, 'available');
+ $conn->presence($presence, 'available', NULL, 'available', $priority);
}
return $conn;
}