use priority in connection

darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz
This commit is contained in:
Evan Prodromou 2008-08-30 05:15:22 -04:00
parent 377115cad3
commit 72d8bb12e1

View File

@ -69,7 +69,7 @@ function jabber_connect($resource=NULL, $status=NULL, $priority=NULL) {
} }
$conn->processUntil('session_start'); $conn->processUntil('session_start');
# $conn->getRoster(); # $conn->getRoster();
$conn->presence($presence, 'available', NULL, 'available'); $conn->presence($presence, 'available', NULL, 'available', $priority);
} }
return $conn; return $conn;
} }