summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-07 19:40:50 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-07 19:40:50 -0400
commitada9835470ecd90f63264041abdf9c4f838ff60e (patch)
tree5b60ba13fb9def7a0ff494e82317d56aac9f5222 /lib/jabber.php
parentf042efbe674fb78766ef737728d59d92fb384065 (diff)
autosubscribe for jabber
darcs-hash:20080707234050-84dde-b8bb3e4af8dad740e48372e8fa059cdba460a382.gz
Diffstat (limited to 'lib/jabber.php')
-rw-r--r--lib/jabber.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index 0b5aae4ea..66ff24e63 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -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;