core (main): renamed hasFeature to has_feature to fix inconsistency.

This commit is contained in:
Goffi 2025-09-05 19:31:50 +02:00
commit 0a42dd3da3

View file

@ -268,7 +268,7 @@ class IPPlugin(object):
return self._external_ip_cache
# we first try with XEP-0279
ip_check = await self.host.hasFeature(client, NS_IP_CHECK)
ip_check = await self.host.has_feature(client, NS_IP_CHECK)
if ip_check:
log.debug("Server IP Check available, we use it to retrieve our IP")
iq_elt = client.IQ("get")