forked from GNUsocial/gnu-social
dnd -> available, just looks bad as dns
darcs-hash:20080902030910-84dde-01fa58c8c1ab359a077c7a5498973235954be085.gz
This commit is contained in:
parent
fa123bef67
commit
ea5b129163
@ -45,7 +45,7 @@ class PublicQueueHandler extends QueueHandler {
|
||||
$this->conn = jabber_connect($this->_id);
|
||||
if ($this->conn) {
|
||||
$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);
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ class XmppConfirmHandler {
|
||||
$this->conn = jabber_connect($this->_id);
|
||||
if ($this->conn) {
|
||||
$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);
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ class XmppQueueHandler extends QueueHandler {
|
||||
$this->conn = jabber_connect($this->_id);
|
||||
if ($this->conn) {
|
||||
$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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user