diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-01-27 13:41:02 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-01-27 13:41:02 -0500 |
commit | 5224c7d6c263f078c3628650ff2b4b706862307c (patch) | |
tree | 9ce11b5470dfe1f64a8944dccb120f628a377e09 /lib/xmppmanager.php | |
parent | 767b77d6c2291d6e7f4795ce18c70d5354a07de9 (diff) | |
parent | 656d95418c6d7f8b884c4c8af14ad6952032ace6 (diff) |
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'lib/xmppmanager.php')
-rw-r--r-- | lib/xmppmanager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php index 299175dd7..985e7c32e 100644 --- a/lib/xmppmanager.php +++ b/lib/xmppmanager.php @@ -101,7 +101,7 @@ class XmppManager extends IoManager $this->conn->addEventHandler('reconnect', 'handle_reconnect', $this); $this->conn->setReconnectTimeout(600); - jabber_send_presence("Send me a message to post a notice", 'available', null, 'available', -1); + jabber_send_presence("Send me a message to post a notice", 'available', null, 'available', 100); return !is_null($this->conn); } @@ -233,7 +233,7 @@ class XmppManager extends IoManager common_log(LOG_NOTICE, 'XMPP reconnected'); $this->conn->processUntil('session_start'); - $this->conn->presence(null, 'available', null, 'available', -1); + $this->conn->presence(null, 'available', null, 'available', 100); } |