summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-30 05:15:22 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-30 05:15:22 -0400
commit72d8bb12e15dac970a000c87c055021b293d8c73 (patch)
tree7ad908a1ddf14d330268090a53d5b338cd8a22da
parent377115cad3b0e3945ee6ca5aa35e001be6f6946c (diff)
use priority in connection
darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz
-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;
}