From 377115cad3b0e3945ee6ca5aa35e001be6f6946c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 30 Aug 2008 05:14:30 -0400 Subject: [PATCH] make XMPP take a priority for presence darcs-hash:20080830091430-84dde-cb0bc7d8957fd295c823298b137c4cf4b285f689.gz --- extlib/XMPPHP/XMPP.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extlib/XMPPHP/XMPP.php b/extlib/XMPPHP/XMPP.php index d7783b516e..cf4e7acd9d 100644 --- a/extlib/XMPPHP/XMPP.php +++ b/extlib/XMPPHP/XMPP.php @@ -164,7 +164,7 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { * @param string $show * @param string $to */ - public function presence($status = null, $show = 'available', $to = null, $type='available') { + public function presence($status = null, $show = 'available', $to = null, $type='available', $priority=NULL) { if($type == 'available') $type = ''; $to = htmlspecialchars($to); $status = htmlspecialchars($status); @@ -173,12 +173,13 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { $out = "