]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
autosubscribe for jabber
authorEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 23:40:50 +0000 (19:40 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 23:40:50 +0000 (19:40 -0400)
darcs-hash:20080707234050-84dde-b8bb3e4af8dad740e48372e8fa059cdba460a382.gz

lib/jabber.php

index 0b5aae4ea81871f59a3186ff5ec390305df0714e..66ff24e63a792eb4fa43a861eb47b9e2558a5848 100644 (file)
@@ -53,6 +53,7 @@ function jabber_connect($resource=NULL) {
                                         ($resource) ? $resource :
                                                common_config('xmpp', 'resource'),
                                         common_config('xmpp', 'server'));
+               $conn->autoSubscribe();
 
                if (!$conn) {
                        return false;