]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct presence in jabber function
authorEvan Prodromou <evan@prodromou.name>
Thu, 28 Aug 2008 00:19:36 +0000 (20:19 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 28 Aug 2008 00:19:36 +0000 (20:19 -0400)
darcs-hash:20080828001936-84dde-e4ec2fef30c49d1254d5358624a4391930811832.gz

lib/jabber.php

index e2f7ca3c8255a10928c6270b7c662e08c9a08c46..215cd55374bc487eaabe1fd47b3cd6cc48d6818b 100644 (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;
 }