diff libervia/backend/plugins/plugin_xep_0096.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 0d7bb4df2343
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0096.py	Sun Aug 31 12:34:37 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0096.py	Fri Sep 05 19:31:50 2025 +0200
@@ -75,7 +75,7 @@
         )
 
     async def can_handle_file_send(self, client, peer_jid, filepath):
-        return await self.host.hasFeature(client, NS_SI_FT, peer_jid)
+        return await self.host.has_feature(client, NS_SI_FT, peer_jid)
 
     def unload(self):
         self._si.unregister_si_profile(SI_PROFILE_NAME)