changeset 3391:e898a43b5bea

plugin ip: don't set `to` anymore for IQ stanza, as we send it to our server
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:15 +0100
parents 7d8a04a1d3a2
children 0957ea9137b8
files sat/plugins/plugin_misc_ip.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_ip.py	Thu Nov 12 14:53:15 2020 +0100
+++ b/sat/plugins/plugin_misc_ip.py	Thu Nov 12 14:53:15 2020 +0100
@@ -274,7 +274,6 @@
         if ip_check:
             log.debug("Server IP Check available, we use it to retrieve our IP")
             iq_elt = client.IQ("get")
-            iq_elt['to'] = client.host
             iq_elt.addElement((NS_IP_CHECK, "address"))
             try:
                 result_elt = yield iq_elt.send()