]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use priority in connection
authorEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 09:15:22 +0000 (05:15 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 09:15:22 +0000 (05:15 -0400)
darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz

lib/jabber.php

index f89def25e9c629ec74db35ffe77181520ba327f8..504e050ce3c64b1694ccfe62a9150927c16603a0 100644 (file)
@@ -69,7 +69,7 @@ function jabber_connect($resource=NULL, $status=NULL, $priority=NULL) {
                }
        $conn->processUntil('session_start');
 #              $conn->getRoster();
-               $conn->presence($presence, 'available', NULL, 'available');
+               $conn->presence($presence, 'available', NULL, 'available', $priority);
        }
        return $conn;
 }