diff libervia/backend/plugins/plugin_xep_0234.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_0234.py	Sun Aug 31 12:34:37 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0234.py	Fri Sep 05 19:31:50 2025 +0200
@@ -124,7 +124,7 @@
 
     async def can_handle_file_send(self, client, peer_jid, filepath):
         if peer_jid.resource:
-            return await self.host.hasFeature(client, NS_JINGLE_FT, peer_jid)
+            return await self.host.has_feature(client, NS_JINGLE_FT, peer_jid)
         else:
             # if we have a bare jid, Jingle Message Initiation will be tried
             return True