From: Evan Prodromou Date: Sat, 30 Aug 2008 09:14:30 +0000 (-0400) Subject: make XMPP take a priority for presence X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=377115cad3b0e3945ee6ca5aa35e001be6f6946c;p=quix0rs-gnu-social.git make XMPP take a priority for presence darcs-hash:20080830091430-84dde-cb0bc7d8957fd295c823298b137c4cf4b285f689.gz --- 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 = "