diff options
author | Evan Prodromou <evan@status.net> | 2010-01-25 18:10:59 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-25 18:10:59 -0500 |
commit | b6aa1511eb868d740f8893160ce8bef387725867 (patch) | |
tree | a583cfb455da2cd53f6dd27b7cec6ef85cc6894d /lib/xmppmanager.php | |
parent | b3121d09c9dc49579934189fc56a0e0195c673f9 (diff) | |
parent | e26a843caf9f6bb0d11a7128884db235ededcce0 (diff) |
Merge branch 'master' into 0.9.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); } |