From 25b4996145890cd56c0f96b2e46df09a0b66086e Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Thu, 13 Apr 2017 12:23:12 -0400 Subject: [PATCH] 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. --- plugins/Xmpp/lib/xmppmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Xmpp/lib/xmppmanager.php b/plugins/Xmpp/lib/xmppmanager.php index 372824ce54..44e04a4ae7 100644 --- a/plugins/Xmpp/lib/xmppmanager.php +++ b/plugins/Xmpp/lib/xmppmanager.php @@ -183,7 +183,7 @@ class XmppManager extends ImManager } common_log(LOG_DEBUG, "Sending ping #{$this->pingid}"); - $this->conn->send(""); + $this->conn->send(""); $this->lastping = $now; return true; }