correct presence in jabber function

darcs-hash:20080828001936-84dde-e4ec2fef30c49d1254d5358624a4391930811832.gz
This commit is contained in:
Evan Prodromou 2008-08-27 20:19:36 -04:00
parent 7887147603
commit 2be3be1c29

View File

@ -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;
}