daemon_screenname -> daemonScreenname
This commit is contained in:
@@ -254,7 +254,7 @@ class XmppPlugin extends ImPlugin
|
||||
return false;
|
||||
}
|
||||
|
||||
function daemon_screenname()
|
||||
function daemonScreenname()
|
||||
{
|
||||
$ret = $this->user . '@' . $this->server;
|
||||
if($this->resource)
|
||||
|
@@ -184,7 +184,7 @@ class XmppManager extends ImManager
|
||||
}
|
||||
|
||||
common_log(LOG_DEBUG, "Sending ping #{$this->pingid}");
|
||||
$this->conn->send("<iq from='{" . $this->plugin->daemon_screenname() . "}' to='{$this->plugin->server}' id='ping_{$this->pingid}' type='get'><ping xmlns='urn:xmpp:ping'/></iq>");
|
||||
$this->conn->send("<iq from='{" . $this->plugin->daemonScreenname() . "}' to='{$this->plugin->server}' id='ping_{$this->pingid}' type='get'><ping xmlns='urn:xmpp:ping'/></iq>");
|
||||
$this->lastping = $now;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user