autosubscribe for jabber
darcs-hash:20080707234050-84dde-b8bb3e4af8dad740e48372e8fa059cdba460a382.gz
This commit is contained in:
parent
f042efbe67
commit
ada9835470
@ -53,6 +53,7 @@ function jabber_connect($resource=NULL) {
|
|||||||
($resource) ? $resource :
|
($resource) ? $resource :
|
||||||
common_config('xmpp', 'resource'),
|
common_config('xmpp', 'resource'),
|
||||||
common_config('xmpp', 'server'));
|
common_config('xmpp', 'server'));
|
||||||
|
$conn->autoSubscribe();
|
||||||
|
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user