From: Brion Vibber Date: Mon, 25 Jan 2010 21:48:24 +0000 (-0800) Subject: Fix presence notification on XMPP thread (now foreground, not background) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3beed68898a59c40220f4c47cb81a7cd91fbd09;p=quix0rs-gnu-social.git Fix presence notification on XMPP thread (now foreground, not background) --- diff --git a/lib/xmppmanager.php b/lib/xmppmanager.php index 299175dd7d..985e7c32e4 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); }