set the reconnect timeout

darcs-hash:20080902171740-84dde-ee629f4b5dbcf712cd350c37d0f1814ca1b7f237.gz
This commit is contained in:
Evan Prodromou
2008-09-02 13:17:40 -04:00
parent af8e38aeff
commit 65e462858e
5 changed files with 18 additions and 3 deletions

View File

@@ -66,7 +66,9 @@ class XMPPDaemon {
if (!$this->conn) {
return false;
}
$this->conn->reconnectTimeout(600);
jabber_send_presence("Send me a message to post a notice", 'available',
NULL, 'available', 100);
return !$this->conn->isDisconnected();