summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-27 20:19:36 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-27 20:19:36 -0400
commit2be3be1c290b7337cd39a99430dc112ad2827355 (patch)
tree56356797c156bd20d4cac6c30cfa04a6f5bc66c1
parent78871476032818637220d959db1652c600b86460 (diff)
correct presence in jabber function
darcs-hash:20080828001936-84dde-e4ec2fef30c49d1254d5358624a4391930811832.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 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;
}