plugin ip: don't set to anymore for IQ stanza, as we send it to our server

This commit is contained in:
Goffi 2020-11-12 14:53:15 +01:00
commit 4bc90ee0bc

View file

@ -274,7 +274,6 @@ class IPPlugin(object):
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()