diff libervia/backend/plugins/plugin_xep_0300.py @ 4395:9c3ca8317e51

core (main): renamed `hasFeature` to `has_feature` to fix inconsistency.
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2025 19:31:50 +0200
parents 111dce64dcb5
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0300.py	Sun Aug 31 12:34:37 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0300.py	Fri Sep 05 19:31:50 2025 +0200
@@ -185,7 +185,7 @@
         """
         client = self.host.get_client(profile)
         for algo in reversed(XEP_0300.ALGOS):
-            has_feature = await self.host.hasFeature(
+            has_feature = await self.host.has_feature(
                 client, NS_HASHES_FUNCTIONS.format(algo), to_jid
             )
             if has_feature: