summaryrefslogtreecommitdiff
path: root/lib/xmppmanager.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-25 13:48:24 -0800
committerBrion Vibber <brion@pobox.com>2010-01-25 13:49:02 -0800
commitf3beed68898a59c40220f4c47cb81a7cd91fbd09 (patch)
tree0ac77d40269618b676477e9086d9d847c92d6cec /lib/xmppmanager.php
parentcb07fd29a31d681dff838e95f3a96033332020f0 (diff)
Fix presence notification on XMPP thread (now foreground, not background)
Diffstat (limited to 'lib/xmppmanager.php')
-rw-r--r--lib/xmppmanager.php4
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);
}