dnd -> available, just looks bad as dns

darcs-hash:20080902030910-84dde-01fa58c8c1ab359a077c7a5498973235954be085.gz
This commit is contained in:
Evan Prodromou 2008-09-01 23:09:10 -04:00
parent fa123bef67
commit ea5b129163
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class PublicQueueHandler extends QueueHandler {
$this->conn = jabber_connect($this->_id); $this->conn = jabber_connect($this->_id);
if ($this->conn) { if ($this->conn) {
$this->conn->addEventHandler('message', 'forward_message', $this); $this->conn->addEventHandler('message', 'forward_message', $this);
jabber_send_presence("Send me a message to post an notice", 'dnd', NULL, 'available', -1); jabber_send_presence("Send me a message to post an notice", 'available', NULL, 'available', -1);
} }
return !is_null($this->conn); return !is_null($this->conn);
} }

View File

@ -51,7 +51,7 @@ class XmppConfirmHandler {
$this->conn = jabber_connect($this->_id); $this->conn = jabber_connect($this->_id);
if ($this->conn) { if ($this->conn) {
$this->conn->addEventHandler('message', 'forward_message', $this); $this->conn->addEventHandler('message', 'forward_message', $this);
jabber_send_presence("Send me a message to post an notice", 'dnd', NULL, 'available', -1); jabber_send_presence("Send me a message to post an notice", 'available', NULL, 'available', -1);
} }
return !is_null($this->conn); return !is_null($this->conn);
} }

View File

@ -47,7 +47,7 @@ class XmppQueueHandler extends QueueHandler {
$this->conn = jabber_connect($this->_id); $this->conn = jabber_connect($this->_id);
if ($this->conn) { if ($this->conn) {
$this->conn->addEventHandler('message', 'forward_message', $this); $this->conn->addEventHandler('message', 'forward_message', $this);
jabber_send_presence("Send me a message to post an notice", 'dnd', NULL, 'available', -1); jabber_send_presence("Send me a message to post an notice", 'available', NULL, 'available', -1);
} }
return !is_null($this->conn); return !is_null($this->conn);
} }