forked from GNUsocial/gnu-social
Fix 'from' address in the XMPP ping command
This commit corrects a syntax error that caused the XMPP daemon to reatedly reconnect to the remote server.
This commit is contained in:
parent
75079320d1
commit
25b4996145
@ -183,7 +183,7 @@ class XmppManager extends ImManager
|
||||
}
|
||||
|
||||
common_log(LOG_DEBUG, "Sending ping #{$this->pingid}");
|
||||
$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->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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user